|
@@ -29619,3 +29619,763 @@
|
29619
|
29619
|
[2011-09-08 18:27:56] doctrine.DEBUG: SELECT t0.id AS id1, t0.position AS position2, t0.user_id AS user_id3, t0.tag_id AS tag_id4 FROM users_tags_favorites t0 WHERE t0.user_id = ? ([1]) [] []
|
29620
|
29620
|
[2011-09-08 18:27:56] doctrine.DEBUG: SELECT t0.id AS id1, t0.name AS name2 FROM tag t0 WHERE t0.id = ? ([1]) [] []
|
29621
|
29621
|
[2011-09-08 18:27:56] doctrine.DEBUG: SELECT t0.id AS id1, t0.name AS name2 FROM tag t0 WHERE t0.id = ? ([2]) [] []
|
|
29622
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT
|
|
29623
|
+ c.relname, n.nspname AS schemaname
|
|
29624
|
+ FROM
|
|
29625
|
+ pg_class c, pg_namespace n
|
|
29626
|
+ WHERE relkind = 'S' AND n.oid = c.relnamespace AND
|
|
29627
|
+ (n.nspname NOT LIKE 'pg_%' AND n.nspname != 'information_schema') ([]) [] []
|
|
29628
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT min_value, increment_by FROM product_id_seq ([]) [] []
|
|
29629
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT min_value, increment_by FROM element_id_seq ([]) [] []
|
|
29630
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT min_value, increment_by FROM tag_id_seq ([]) [] []
|
|
29631
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT min_value, increment_by FROM user_id_seq ([]) [] []
|
|
29632
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT min_value, increment_by FROM muzich_user_id_seq ([]) [] []
|
|
29633
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT min_value, increment_by FROM users_tags_favorites_id_seq ([]) [] []
|
|
29634
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT tablename AS table_name, schemaname AS schema_name
|
|
29635
|
+ FROM pg_tables WHERE schemaname NOT LIKE 'pg_%' AND schemaname != 'information_schema' ([]) [] []
|
|
29636
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT
|
|
29637
|
+ a.attnum,
|
|
29638
|
+ a.attname AS field,
|
|
29639
|
+ t.typname AS type,
|
|
29640
|
+ format_type(a.atttypid, a.atttypmod) AS complete_type,
|
|
29641
|
+ (SELECT t1.typname FROM pg_catalog.pg_type t1 WHERE t1.oid = t.typbasetype) AS domain_type,
|
|
29642
|
+ (SELECT format_type(t2.typbasetype, t2.typtypmod) FROM pg_catalog.pg_type t2
|
|
29643
|
+ WHERE t2.typtype = 'd' AND t2.typname = format_type(a.atttypid, a.atttypmod)) AS domain_complete_type,
|
|
29644
|
+ a.attnotnull AS isnotnull,
|
|
29645
|
+ (SELECT 't'
|
|
29646
|
+ FROM pg_index
|
|
29647
|
+ WHERE c.oid = pg_index.indrelid
|
|
29648
|
+ AND pg_index.indkey[0] = a.attnum
|
|
29649
|
+ AND pg_index.indisprimary = 't'
|
|
29650
|
+ ) AS pri,
|
|
29651
|
+ (SELECT pg_attrdef.adsrc
|
|
29652
|
+ FROM pg_attrdef
|
|
29653
|
+ WHERE c.oid = pg_attrdef.adrelid
|
|
29654
|
+ AND pg_attrdef.adnum=a.attnum
|
|
29655
|
+ ) AS default,
|
|
29656
|
+ (SELECT pg_description.description
|
|
29657
|
+ FROM pg_description WHERE pg_description.objoid = c.oid AND a.attnum = pg_description.objsubid
|
|
29658
|
+ ) AS comment
|
|
29659
|
+ FROM pg_attribute a, pg_class c, pg_type t, pg_namespace n
|
|
29660
|
+ WHERE c.relname = 'product'
|
|
29661
|
+ AND a.attnum > 0
|
|
29662
|
+ AND a.attrelid = c.oid
|
|
29663
|
+ AND a.atttypid = t.oid
|
|
29664
|
+ AND n.oid = c.relnamespace
|
|
29665
|
+ ORDER BY a.attnum ([]) [] []
|
|
29666
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT r.conname, pg_catalog.pg_get_constraintdef(r.oid, true) as condef
|
|
29667
|
+ FROM pg_catalog.pg_constraint r
|
|
29668
|
+ WHERE r.conrelid =
|
|
29669
|
+ (
|
|
29670
|
+ SELECT c.oid
|
|
29671
|
+ FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n
|
|
29672
|
+ WHERE c.relname = 'product'
|
|
29673
|
+ AND n.oid = c.relnamespace
|
|
29674
|
+ )
|
|
29675
|
+ AND r.contype = 'f' ([]) [] []
|
|
29676
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT relname, pg_index.indisunique, pg_index.indisprimary,
|
|
29677
|
+ pg_index.indkey, pg_index.indrelid
|
|
29678
|
+ FROM pg_class, pg_index
|
|
29679
|
+ WHERE oid IN (
|
|
29680
|
+ SELECT indexrelid
|
|
29681
|
+ FROM pg_index si, pg_class sc, pg_namespace sn
|
|
29682
|
+ WHERE sc.relname = 'product' AND sc.oid=si.indrelid AND sc.relnamespace = sn.oid
|
|
29683
|
+ ) AND pg_index.indexrelid = oid ([]) [] []
|
|
29684
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
29685
|
+ WHERE attrelid=16390 AND attnum IN (1 ) ORDER BY attnum ASC; ([]) [] []
|
|
29686
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT
|
|
29687
|
+ a.attnum,
|
|
29688
|
+ a.attname AS field,
|
|
29689
|
+ t.typname AS type,
|
|
29690
|
+ format_type(a.atttypid, a.atttypmod) AS complete_type,
|
|
29691
|
+ (SELECT t1.typname FROM pg_catalog.pg_type t1 WHERE t1.oid = t.typbasetype) AS domain_type,
|
|
29692
|
+ (SELECT format_type(t2.typbasetype, t2.typtypmod) FROM pg_catalog.pg_type t2
|
|
29693
|
+ WHERE t2.typtype = 'd' AND t2.typname = format_type(a.atttypid, a.atttypmod)) AS domain_complete_type,
|
|
29694
|
+ a.attnotnull AS isnotnull,
|
|
29695
|
+ (SELECT 't'
|
|
29696
|
+ FROM pg_index
|
|
29697
|
+ WHERE c.oid = pg_index.indrelid
|
|
29698
|
+ AND pg_index.indkey[0] = a.attnum
|
|
29699
|
+ AND pg_index.indisprimary = 't'
|
|
29700
|
+ ) AS pri,
|
|
29701
|
+ (SELECT pg_attrdef.adsrc
|
|
29702
|
+ FROM pg_attrdef
|
|
29703
|
+ WHERE c.oid = pg_attrdef.adrelid
|
|
29704
|
+ AND pg_attrdef.adnum=a.attnum
|
|
29705
|
+ ) AS default,
|
|
29706
|
+ (SELECT pg_description.description
|
|
29707
|
+ FROM pg_description WHERE pg_description.objoid = c.oid AND a.attnum = pg_description.objsubid
|
|
29708
|
+ ) AS comment
|
|
29709
|
+ FROM pg_attribute a, pg_class c, pg_type t, pg_namespace n
|
|
29710
|
+ WHERE c.relname = 'muzich_user'
|
|
29711
|
+ AND a.attnum > 0
|
|
29712
|
+ AND a.attrelid = c.oid
|
|
29713
|
+ AND a.atttypid = t.oid
|
|
29714
|
+ AND n.oid = c.relnamespace
|
|
29715
|
+ ORDER BY a.attnum ([]) [] []
|
|
29716
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT r.conname, pg_catalog.pg_get_constraintdef(r.oid, true) as condef
|
|
29717
|
+ FROM pg_catalog.pg_constraint r
|
|
29718
|
+ WHERE r.conrelid =
|
|
29719
|
+ (
|
|
29720
|
+ SELECT c.oid
|
|
29721
|
+ FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n
|
|
29722
|
+ WHERE c.relname = 'muzich_user'
|
|
29723
|
+ AND n.oid = c.relnamespace
|
|
29724
|
+ )
|
|
29725
|
+ AND r.contype = 'f' ([]) [] []
|
|
29726
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT relname, pg_index.indisunique, pg_index.indisprimary,
|
|
29727
|
+ pg_index.indkey, pg_index.indrelid
|
|
29728
|
+ FROM pg_class, pg_index
|
|
29729
|
+ WHERE oid IN (
|
|
29730
|
+ SELECT indexrelid
|
|
29731
|
+ FROM pg_index si, pg_class sc, pg_namespace sn
|
|
29732
|
+ WHERE sc.relname = 'muzich_user' AND sc.oid=si.indrelid AND sc.relnamespace = sn.oid
|
|
29733
|
+ ) AND pg_index.indexrelid = oid ([]) [] []
|
|
29734
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
29735
|
+ WHERE attrelid=16451 AND attnum IN (1 ) ORDER BY attnum ASC; ([]) [] []
|
|
29736
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
29737
|
+ WHERE attrelid=16451 AND attnum IN (3 ) ORDER BY attnum ASC; ([]) [] []
|
|
29738
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
29739
|
+ WHERE attrelid=16451 AND attnum IN (5 ) ORDER BY attnum ASC; ([]) [] []
|
|
29740
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT
|
|
29741
|
+ a.attnum,
|
|
29742
|
+ a.attname AS field,
|
|
29743
|
+ t.typname AS type,
|
|
29744
|
+ format_type(a.atttypid, a.atttypmod) AS complete_type,
|
|
29745
|
+ (SELECT t1.typname FROM pg_catalog.pg_type t1 WHERE t1.oid = t.typbasetype) AS domain_type,
|
|
29746
|
+ (SELECT format_type(t2.typbasetype, t2.typtypmod) FROM pg_catalog.pg_type t2
|
|
29747
|
+ WHERE t2.typtype = 'd' AND t2.typname = format_type(a.atttypid, a.atttypmod)) AS domain_complete_type,
|
|
29748
|
+ a.attnotnull AS isnotnull,
|
|
29749
|
+ (SELECT 't'
|
|
29750
|
+ FROM pg_index
|
|
29751
|
+ WHERE c.oid = pg_index.indrelid
|
|
29752
|
+ AND pg_index.indkey[0] = a.attnum
|
|
29753
|
+ AND pg_index.indisprimary = 't'
|
|
29754
|
+ ) AS pri,
|
|
29755
|
+ (SELECT pg_attrdef.adsrc
|
|
29756
|
+ FROM pg_attrdef
|
|
29757
|
+ WHERE c.oid = pg_attrdef.adrelid
|
|
29758
|
+ AND pg_attrdef.adnum=a.attnum
|
|
29759
|
+ ) AS default,
|
|
29760
|
+ (SELECT pg_description.description
|
|
29761
|
+ FROM pg_description WHERE pg_description.objoid = c.oid AND a.attnum = pg_description.objsubid
|
|
29762
|
+ ) AS comment
|
|
29763
|
+ FROM pg_attribute a, pg_class c, pg_type t, pg_namespace n
|
|
29764
|
+ WHERE c.relname = 'element_type'
|
|
29765
|
+ AND a.attnum > 0
|
|
29766
|
+ AND a.attrelid = c.oid
|
|
29767
|
+ AND a.atttypid = t.oid
|
|
29768
|
+ AND n.oid = c.relnamespace
|
|
29769
|
+ ORDER BY a.attnum ([]) [] []
|
|
29770
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT r.conname, pg_catalog.pg_get_constraintdef(r.oid, true) as condef
|
|
29771
|
+ FROM pg_catalog.pg_constraint r
|
|
29772
|
+ WHERE r.conrelid =
|
|
29773
|
+ (
|
|
29774
|
+ SELECT c.oid
|
|
29775
|
+ FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n
|
|
29776
|
+ WHERE c.relname = 'element_type'
|
|
29777
|
+ AND n.oid = c.relnamespace
|
|
29778
|
+ )
|
|
29779
|
+ AND r.contype = 'f' ([]) [] []
|
|
29780
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT relname, pg_index.indisunique, pg_index.indisprimary,
|
|
29781
|
+ pg_index.indkey, pg_index.indrelid
|
|
29782
|
+ FROM pg_class, pg_index
|
|
29783
|
+ WHERE oid IN (
|
|
29784
|
+ SELECT indexrelid
|
|
29785
|
+ FROM pg_index si, pg_class sc, pg_namespace sn
|
|
29786
|
+ WHERE sc.relname = 'element_type' AND sc.oid=si.indrelid AND sc.relnamespace = sn.oid
|
|
29787
|
+ ) AND pg_index.indexrelid = oid ([]) [] []
|
|
29788
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
29789
|
+ WHERE attrelid=16400 AND attnum IN (1 ) ORDER BY attnum ASC; ([]) [] []
|
|
29790
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT
|
|
29791
|
+ a.attnum,
|
|
29792
|
+ a.attname AS field,
|
|
29793
|
+ t.typname AS type,
|
|
29794
|
+ format_type(a.atttypid, a.atttypmod) AS complete_type,
|
|
29795
|
+ (SELECT t1.typname FROM pg_catalog.pg_type t1 WHERE t1.oid = t.typbasetype) AS domain_type,
|
|
29796
|
+ (SELECT format_type(t2.typbasetype, t2.typtypmod) FROM pg_catalog.pg_type t2
|
|
29797
|
+ WHERE t2.typtype = 'd' AND t2.typname = format_type(a.atttypid, a.atttypmod)) AS domain_complete_type,
|
|
29798
|
+ a.attnotnull AS isnotnull,
|
|
29799
|
+ (SELECT 't'
|
|
29800
|
+ FROM pg_index
|
|
29801
|
+ WHERE c.oid = pg_index.indrelid
|
|
29802
|
+ AND pg_index.indkey[0] = a.attnum
|
|
29803
|
+ AND pg_index.indisprimary = 't'
|
|
29804
|
+ ) AS pri,
|
|
29805
|
+ (SELECT pg_attrdef.adsrc
|
|
29806
|
+ FROM pg_attrdef
|
|
29807
|
+ WHERE c.oid = pg_attrdef.adrelid
|
|
29808
|
+ AND pg_attrdef.adnum=a.attnum
|
|
29809
|
+ ) AS default,
|
|
29810
|
+ (SELECT pg_description.description
|
|
29811
|
+ FROM pg_description WHERE pg_description.objoid = c.oid AND a.attnum = pg_description.objsubid
|
|
29812
|
+ ) AS comment
|
|
29813
|
+ FROM pg_attribute a, pg_class c, pg_type t, pg_namespace n
|
|
29814
|
+ WHERE c.relname = 'tag'
|
|
29815
|
+ AND a.attnum > 0
|
|
29816
|
+ AND a.attrelid = c.oid
|
|
29817
|
+ AND a.atttypid = t.oid
|
|
29818
|
+ AND n.oid = c.relnamespace
|
|
29819
|
+ ORDER BY a.attnum ([]) [] []
|
|
29820
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT r.conname, pg_catalog.pg_get_constraintdef(r.oid, true) as condef
|
|
29821
|
+ FROM pg_catalog.pg_constraint r
|
|
29822
|
+ WHERE r.conrelid =
|
|
29823
|
+ (
|
|
29824
|
+ SELECT c.oid
|
|
29825
|
+ FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n
|
|
29826
|
+ WHERE c.relname = 'tag'
|
|
29827
|
+ AND n.oid = c.relnamespace
|
|
29828
|
+ )
|
|
29829
|
+ AND r.contype = 'f' ([]) [] []
|
|
29830
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT relname, pg_index.indisunique, pg_index.indisprimary,
|
|
29831
|
+ pg_index.indkey, pg_index.indrelid
|
|
29832
|
+ FROM pg_class, pg_index
|
|
29833
|
+ WHERE oid IN (
|
|
29834
|
+ SELECT indexrelid
|
|
29835
|
+ FROM pg_index si, pg_class sc, pg_namespace sn
|
|
29836
|
+ WHERE sc.relname = 'tag' AND sc.oid=si.indrelid AND sc.relnamespace = sn.oid
|
|
29837
|
+ ) AND pg_index.indexrelid = oid ([]) [] []
|
|
29838
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
29839
|
+ WHERE attrelid=16424 AND attnum IN (1 ) ORDER BY attnum ASC; ([]) [] []
|
|
29840
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT
|
|
29841
|
+ a.attnum,
|
|
29842
|
+ a.attname AS field,
|
|
29843
|
+ t.typname AS type,
|
|
29844
|
+ format_type(a.atttypid, a.atttypmod) AS complete_type,
|
|
29845
|
+ (SELECT t1.typname FROM pg_catalog.pg_type t1 WHERE t1.oid = t.typbasetype) AS domain_type,
|
|
29846
|
+ (SELECT format_type(t2.typbasetype, t2.typtypmod) FROM pg_catalog.pg_type t2
|
|
29847
|
+ WHERE t2.typtype = 'd' AND t2.typname = format_type(a.atttypid, a.atttypmod)) AS domain_complete_type,
|
|
29848
|
+ a.attnotnull AS isnotnull,
|
|
29849
|
+ (SELECT 't'
|
|
29850
|
+ FROM pg_index
|
|
29851
|
+ WHERE c.oid = pg_index.indrelid
|
|
29852
|
+ AND pg_index.indkey[0] = a.attnum
|
|
29853
|
+ AND pg_index.indisprimary = 't'
|
|
29854
|
+ ) AS pri,
|
|
29855
|
+ (SELECT pg_attrdef.adsrc
|
|
29856
|
+ FROM pg_attrdef
|
|
29857
|
+ WHERE c.oid = pg_attrdef.adrelid
|
|
29858
|
+ AND pg_attrdef.adnum=a.attnum
|
|
29859
|
+ ) AS default,
|
|
29860
|
+ (SELECT pg_description.description
|
|
29861
|
+ FROM pg_description WHERE pg_description.objoid = c.oid AND a.attnum = pg_description.objsubid
|
|
29862
|
+ ) AS comment
|
|
29863
|
+ FROM pg_attribute a, pg_class c, pg_type t, pg_namespace n
|
|
29864
|
+ WHERE c.relname = 'element'
|
|
29865
|
+ AND a.attnum > 0
|
|
29866
|
+ AND a.attrelid = c.oid
|
|
29867
|
+ AND a.atttypid = t.oid
|
|
29868
|
+ AND n.oid = c.relnamespace
|
|
29869
|
+ ORDER BY a.attnum ([]) [] []
|
|
29870
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT r.conname, pg_catalog.pg_get_constraintdef(r.oid, true) as condef
|
|
29871
|
+ FROM pg_catalog.pg_constraint r
|
|
29872
|
+ WHERE r.conrelid =
|
|
29873
|
+ (
|
|
29874
|
+ SELECT c.oid
|
|
29875
|
+ FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n
|
|
29876
|
+ WHERE c.relname = 'element'
|
|
29877
|
+ AND n.oid = c.relnamespace
|
|
29878
|
+ )
|
|
29879
|
+ AND r.contype = 'f' ([]) [] []
|
|
29880
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT relname, pg_index.indisunique, pg_index.indisprimary,
|
|
29881
|
+ pg_index.indkey, pg_index.indrelid
|
|
29882
|
+ FROM pg_class, pg_index
|
|
29883
|
+ WHERE oid IN (
|
|
29884
|
+ SELECT indexrelid
|
|
29885
|
+ FROM pg_index si, pg_class sc, pg_namespace sn
|
|
29886
|
+ WHERE sc.relname = 'element' AND sc.oid=si.indrelid AND sc.relnamespace = sn.oid
|
|
29887
|
+ ) AND pg_index.indexrelid = oid ([]) [] []
|
|
29888
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
29889
|
+ WHERE attrelid=16405 AND attnum IN (1 ) ORDER BY attnum ASC; ([]) [] []
|
|
29890
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
29891
|
+ WHERE attrelid=16405 AND attnum IN (2 ) ORDER BY attnum ASC; ([]) [] []
|
|
29892
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT
|
|
29893
|
+ a.attnum,
|
|
29894
|
+ a.attname AS field,
|
|
29895
|
+ t.typname AS type,
|
|
29896
|
+ format_type(a.atttypid, a.atttypmod) AS complete_type,
|
|
29897
|
+ (SELECT t1.typname FROM pg_catalog.pg_type t1 WHERE t1.oid = t.typbasetype) AS domain_type,
|
|
29898
|
+ (SELECT format_type(t2.typbasetype, t2.typtypmod) FROM pg_catalog.pg_type t2
|
|
29899
|
+ WHERE t2.typtype = 'd' AND t2.typname = format_type(a.atttypid, a.atttypmod)) AS domain_complete_type,
|
|
29900
|
+ a.attnotnull AS isnotnull,
|
|
29901
|
+ (SELECT 't'
|
|
29902
|
+ FROM pg_index
|
|
29903
|
+ WHERE c.oid = pg_index.indrelid
|
|
29904
|
+ AND pg_index.indkey[0] = a.attnum
|
|
29905
|
+ AND pg_index.indisprimary = 't'
|
|
29906
|
+ ) AS pri,
|
|
29907
|
+ (SELECT pg_attrdef.adsrc
|
|
29908
|
+ FROM pg_attrdef
|
|
29909
|
+ WHERE c.oid = pg_attrdef.adrelid
|
|
29910
|
+ AND pg_attrdef.adnum=a.attnum
|
|
29911
|
+ ) AS default,
|
|
29912
|
+ (SELECT pg_description.description
|
|
29913
|
+ FROM pg_description WHERE pg_description.objoid = c.oid AND a.attnum = pg_description.objsubid
|
|
29914
|
+ ) AS comment
|
|
29915
|
+ FROM pg_attribute a, pg_class c, pg_type t, pg_namespace n
|
|
29916
|
+ WHERE c.relname = 'elements_tag'
|
|
29917
|
+ AND a.attnum > 0
|
|
29918
|
+ AND a.attrelid = c.oid
|
|
29919
|
+ AND a.atttypid = t.oid
|
|
29920
|
+ AND n.oid = c.relnamespace
|
|
29921
|
+ ORDER BY a.attnum ([]) [] []
|
|
29922
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT r.conname, pg_catalog.pg_get_constraintdef(r.oid, true) as condef
|
|
29923
|
+ FROM pg_catalog.pg_constraint r
|
|
29924
|
+ WHERE r.conrelid =
|
|
29925
|
+ (
|
|
29926
|
+ SELECT c.oid
|
|
29927
|
+ FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n
|
|
29928
|
+ WHERE c.relname = 'elements_tag'
|
|
29929
|
+ AND n.oid = c.relnamespace
|
|
29930
|
+ )
|
|
29931
|
+ AND r.contype = 'f' ([]) [] []
|
|
29932
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT relname, pg_index.indisunique, pg_index.indisprimary,
|
|
29933
|
+ pg_index.indkey, pg_index.indrelid
|
|
29934
|
+ FROM pg_class, pg_index
|
|
29935
|
+ WHERE oid IN (
|
|
29936
|
+ SELECT indexrelid
|
|
29937
|
+ FROM pg_index si, pg_class sc, pg_namespace sn
|
|
29938
|
+ WHERE sc.relname = 'elements_tag' AND sc.oid=si.indrelid AND sc.relnamespace = sn.oid
|
|
29939
|
+ ) AND pg_index.indexrelid = oid ([]) [] []
|
|
29940
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
29941
|
+ WHERE attrelid=16429 AND attnum IN (1 ,2 ) ORDER BY attnum ASC; ([]) [] []
|
|
29942
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
29943
|
+ WHERE attrelid=16429 AND attnum IN (1 ) ORDER BY attnum ASC; ([]) [] []
|
|
29944
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
29945
|
+ WHERE attrelid=16429 AND attnum IN (2 ) ORDER BY attnum ASC; ([]) [] []
|
|
29946
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT
|
|
29947
|
+ a.attnum,
|
|
29948
|
+ a.attname AS field,
|
|
29949
|
+ t.typname AS type,
|
|
29950
|
+ format_type(a.atttypid, a.atttypmod) AS complete_type,
|
|
29951
|
+ (SELECT t1.typname FROM pg_catalog.pg_type t1 WHERE t1.oid = t.typbasetype) AS domain_type,
|
|
29952
|
+ (SELECT format_type(t2.typbasetype, t2.typtypmod) FROM pg_catalog.pg_type t2
|
|
29953
|
+ WHERE t2.typtype = 'd' AND t2.typname = format_type(a.atttypid, a.atttypmod)) AS domain_complete_type,
|
|
29954
|
+ a.attnotnull AS isnotnull,
|
|
29955
|
+ (SELECT 't'
|
|
29956
|
+ FROM pg_index
|
|
29957
|
+ WHERE c.oid = pg_index.indrelid
|
|
29958
|
+ AND pg_index.indkey[0] = a.attnum
|
|
29959
|
+ AND pg_index.indisprimary = 't'
|
|
29960
|
+ ) AS pri,
|
|
29961
|
+ (SELECT pg_attrdef.adsrc
|
|
29962
|
+ FROM pg_attrdef
|
|
29963
|
+ WHERE c.oid = pg_attrdef.adrelid
|
|
29964
|
+ AND pg_attrdef.adnum=a.attnum
|
|
29965
|
+ ) AS default,
|
|
29966
|
+ (SELECT pg_description.description
|
|
29967
|
+ FROM pg_description WHERE pg_description.objoid = c.oid AND a.attnum = pg_description.objsubid
|
|
29968
|
+ ) AS comment
|
|
29969
|
+ FROM pg_attribute a, pg_class c, pg_type t, pg_namespace n
|
|
29970
|
+ WHERE c.relname = 'users_tags_favorites'
|
|
29971
|
+ AND a.attnum > 0
|
|
29972
|
+ AND a.attrelid = c.oid
|
|
29973
|
+ AND a.atttypid = t.oid
|
|
29974
|
+ AND n.oid = c.relnamespace
|
|
29975
|
+ ORDER BY a.attnum ([]) [] []
|
|
29976
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT r.conname, pg_catalog.pg_get_constraintdef(r.oid, true) as condef
|
|
29977
|
+ FROM pg_catalog.pg_constraint r
|
|
29978
|
+ WHERE r.conrelid =
|
|
29979
|
+ (
|
|
29980
|
+ SELECT c.oid
|
|
29981
|
+ FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n
|
|
29982
|
+ WHERE c.relname = 'users_tags_favorites'
|
|
29983
|
+ AND n.oid = c.relnamespace
|
|
29984
|
+ )
|
|
29985
|
+ AND r.contype = 'f' ([]) [] []
|
|
29986
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT relname, pg_index.indisunique, pg_index.indisprimary,
|
|
29987
|
+ pg_index.indkey, pg_index.indrelid
|
|
29988
|
+ FROM pg_class, pg_index
|
|
29989
|
+ WHERE oid IN (
|
|
29990
|
+ SELECT indexrelid
|
|
29991
|
+ FROM pg_index si, pg_class sc, pg_namespace sn
|
|
29992
|
+ WHERE sc.relname = 'users_tags_favorites' AND sc.oid=si.indrelid AND sc.relnamespace = sn.oid
|
|
29993
|
+ ) AND pg_index.indexrelid = oid ([]) [] []
|
|
29994
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
29995
|
+ WHERE attrelid=16495 AND attnum IN (6 ) ORDER BY attnum ASC; ([]) [] []
|
|
29996
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
29997
|
+ WHERE attrelid=16495 AND attnum IN (5 ) ORDER BY attnum ASC; ([]) [] []
|
|
29998
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
29999
|
+ WHERE attrelid=16495 AND attnum IN (3 ) ORDER BY attnum ASC; ([]) [] []
|
|
30000
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT
|
|
30001
|
+ c.relname, n.nspname AS schemaname
|
|
30002
|
+ FROM
|
|
30003
|
+ pg_class c, pg_namespace n
|
|
30004
|
+ WHERE relkind = 'S' AND n.oid = c.relnamespace AND
|
|
30005
|
+ (n.nspname NOT LIKE 'pg_%' AND n.nspname != 'information_schema') ([]) [] []
|
|
30006
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT min_value, increment_by FROM product_id_seq ([]) [] []
|
|
30007
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT min_value, increment_by FROM element_id_seq ([]) [] []
|
|
30008
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT min_value, increment_by FROM tag_id_seq ([]) [] []
|
|
30009
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT min_value, increment_by FROM user_id_seq ([]) [] []
|
|
30010
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT min_value, increment_by FROM muzich_user_id_seq ([]) [] []
|
|
30011
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT min_value, increment_by FROM users_tags_favorites_id_seq ([]) [] []
|
|
30012
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT tablename AS table_name, schemaname AS schema_name
|
|
30013
|
+ FROM pg_tables WHERE schemaname NOT LIKE 'pg_%' AND schemaname != 'information_schema' ([]) [] []
|
|
30014
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT
|
|
30015
|
+ a.attnum,
|
|
30016
|
+ a.attname AS field,
|
|
30017
|
+ t.typname AS type,
|
|
30018
|
+ format_type(a.atttypid, a.atttypmod) AS complete_type,
|
|
30019
|
+ (SELECT t1.typname FROM pg_catalog.pg_type t1 WHERE t1.oid = t.typbasetype) AS domain_type,
|
|
30020
|
+ (SELECT format_type(t2.typbasetype, t2.typtypmod) FROM pg_catalog.pg_type t2
|
|
30021
|
+ WHERE t2.typtype = 'd' AND t2.typname = format_type(a.atttypid, a.atttypmod)) AS domain_complete_type,
|
|
30022
|
+ a.attnotnull AS isnotnull,
|
|
30023
|
+ (SELECT 't'
|
|
30024
|
+ FROM pg_index
|
|
30025
|
+ WHERE c.oid = pg_index.indrelid
|
|
30026
|
+ AND pg_index.indkey[0] = a.attnum
|
|
30027
|
+ AND pg_index.indisprimary = 't'
|
|
30028
|
+ ) AS pri,
|
|
30029
|
+ (SELECT pg_attrdef.adsrc
|
|
30030
|
+ FROM pg_attrdef
|
|
30031
|
+ WHERE c.oid = pg_attrdef.adrelid
|
|
30032
|
+ AND pg_attrdef.adnum=a.attnum
|
|
30033
|
+ ) AS default,
|
|
30034
|
+ (SELECT pg_description.description
|
|
30035
|
+ FROM pg_description WHERE pg_description.objoid = c.oid AND a.attnum = pg_description.objsubid
|
|
30036
|
+ ) AS comment
|
|
30037
|
+ FROM pg_attribute a, pg_class c, pg_type t, pg_namespace n
|
|
30038
|
+ WHERE c.relname = 'product'
|
|
30039
|
+ AND a.attnum > 0
|
|
30040
|
+ AND a.attrelid = c.oid
|
|
30041
|
+ AND a.atttypid = t.oid
|
|
30042
|
+ AND n.oid = c.relnamespace
|
|
30043
|
+ ORDER BY a.attnum ([]) [] []
|
|
30044
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT r.conname, pg_catalog.pg_get_constraintdef(r.oid, true) as condef
|
|
30045
|
+ FROM pg_catalog.pg_constraint r
|
|
30046
|
+ WHERE r.conrelid =
|
|
30047
|
+ (
|
|
30048
|
+ SELECT c.oid
|
|
30049
|
+ FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n
|
|
30050
|
+ WHERE c.relname = 'product'
|
|
30051
|
+ AND n.oid = c.relnamespace
|
|
30052
|
+ )
|
|
30053
|
+ AND r.contype = 'f' ([]) [] []
|
|
30054
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT relname, pg_index.indisunique, pg_index.indisprimary,
|
|
30055
|
+ pg_index.indkey, pg_index.indrelid
|
|
30056
|
+ FROM pg_class, pg_index
|
|
30057
|
+ WHERE oid IN (
|
|
30058
|
+ SELECT indexrelid
|
|
30059
|
+ FROM pg_index si, pg_class sc, pg_namespace sn
|
|
30060
|
+ WHERE sc.relname = 'product' AND sc.oid=si.indrelid AND sc.relnamespace = sn.oid
|
|
30061
|
+ ) AND pg_index.indexrelid = oid ([]) [] []
|
|
30062
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
30063
|
+ WHERE attrelid=16390 AND attnum IN (1 ) ORDER BY attnum ASC; ([]) [] []
|
|
30064
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT
|
|
30065
|
+ a.attnum,
|
|
30066
|
+ a.attname AS field,
|
|
30067
|
+ t.typname AS type,
|
|
30068
|
+ format_type(a.atttypid, a.atttypmod) AS complete_type,
|
|
30069
|
+ (SELECT t1.typname FROM pg_catalog.pg_type t1 WHERE t1.oid = t.typbasetype) AS domain_type,
|
|
30070
|
+ (SELECT format_type(t2.typbasetype, t2.typtypmod) FROM pg_catalog.pg_type t2
|
|
30071
|
+ WHERE t2.typtype = 'd' AND t2.typname = format_type(a.atttypid, a.atttypmod)) AS domain_complete_type,
|
|
30072
|
+ a.attnotnull AS isnotnull,
|
|
30073
|
+ (SELECT 't'
|
|
30074
|
+ FROM pg_index
|
|
30075
|
+ WHERE c.oid = pg_index.indrelid
|
|
30076
|
+ AND pg_index.indkey[0] = a.attnum
|
|
30077
|
+ AND pg_index.indisprimary = 't'
|
|
30078
|
+ ) AS pri,
|
|
30079
|
+ (SELECT pg_attrdef.adsrc
|
|
30080
|
+ FROM pg_attrdef
|
|
30081
|
+ WHERE c.oid = pg_attrdef.adrelid
|
|
30082
|
+ AND pg_attrdef.adnum=a.attnum
|
|
30083
|
+ ) AS default,
|
|
30084
|
+ (SELECT pg_description.description
|
|
30085
|
+ FROM pg_description WHERE pg_description.objoid = c.oid AND a.attnum = pg_description.objsubid
|
|
30086
|
+ ) AS comment
|
|
30087
|
+ FROM pg_attribute a, pg_class c, pg_type t, pg_namespace n
|
|
30088
|
+ WHERE c.relname = 'muzich_user'
|
|
30089
|
+ AND a.attnum > 0
|
|
30090
|
+ AND a.attrelid = c.oid
|
|
30091
|
+ AND a.atttypid = t.oid
|
|
30092
|
+ AND n.oid = c.relnamespace
|
|
30093
|
+ ORDER BY a.attnum ([]) [] []
|
|
30094
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT r.conname, pg_catalog.pg_get_constraintdef(r.oid, true) as condef
|
|
30095
|
+ FROM pg_catalog.pg_constraint r
|
|
30096
|
+ WHERE r.conrelid =
|
|
30097
|
+ (
|
|
30098
|
+ SELECT c.oid
|
|
30099
|
+ FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n
|
|
30100
|
+ WHERE c.relname = 'muzich_user'
|
|
30101
|
+ AND n.oid = c.relnamespace
|
|
30102
|
+ )
|
|
30103
|
+ AND r.contype = 'f' ([]) [] []
|
|
30104
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT relname, pg_index.indisunique, pg_index.indisprimary,
|
|
30105
|
+ pg_index.indkey, pg_index.indrelid
|
|
30106
|
+ FROM pg_class, pg_index
|
|
30107
|
+ WHERE oid IN (
|
|
30108
|
+ SELECT indexrelid
|
|
30109
|
+ FROM pg_index si, pg_class sc, pg_namespace sn
|
|
30110
|
+ WHERE sc.relname = 'muzich_user' AND sc.oid=si.indrelid AND sc.relnamespace = sn.oid
|
|
30111
|
+ ) AND pg_index.indexrelid = oid ([]) [] []
|
|
30112
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
30113
|
+ WHERE attrelid=16451 AND attnum IN (1 ) ORDER BY attnum ASC; ([]) [] []
|
|
30114
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
30115
|
+ WHERE attrelid=16451 AND attnum IN (3 ) ORDER BY attnum ASC; ([]) [] []
|
|
30116
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
30117
|
+ WHERE attrelid=16451 AND attnum IN (5 ) ORDER BY attnum ASC; ([]) [] []
|
|
30118
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT
|
|
30119
|
+ a.attnum,
|
|
30120
|
+ a.attname AS field,
|
|
30121
|
+ t.typname AS type,
|
|
30122
|
+ format_type(a.atttypid, a.atttypmod) AS complete_type,
|
|
30123
|
+ (SELECT t1.typname FROM pg_catalog.pg_type t1 WHERE t1.oid = t.typbasetype) AS domain_type,
|
|
30124
|
+ (SELECT format_type(t2.typbasetype, t2.typtypmod) FROM pg_catalog.pg_type t2
|
|
30125
|
+ WHERE t2.typtype = 'd' AND t2.typname = format_type(a.atttypid, a.atttypmod)) AS domain_complete_type,
|
|
30126
|
+ a.attnotnull AS isnotnull,
|
|
30127
|
+ (SELECT 't'
|
|
30128
|
+ FROM pg_index
|
|
30129
|
+ WHERE c.oid = pg_index.indrelid
|
|
30130
|
+ AND pg_index.indkey[0] = a.attnum
|
|
30131
|
+ AND pg_index.indisprimary = 't'
|
|
30132
|
+ ) AS pri,
|
|
30133
|
+ (SELECT pg_attrdef.adsrc
|
|
30134
|
+ FROM pg_attrdef
|
|
30135
|
+ WHERE c.oid = pg_attrdef.adrelid
|
|
30136
|
+ AND pg_attrdef.adnum=a.attnum
|
|
30137
|
+ ) AS default,
|
|
30138
|
+ (SELECT pg_description.description
|
|
30139
|
+ FROM pg_description WHERE pg_description.objoid = c.oid AND a.attnum = pg_description.objsubid
|
|
30140
|
+ ) AS comment
|
|
30141
|
+ FROM pg_attribute a, pg_class c, pg_type t, pg_namespace n
|
|
30142
|
+ WHERE c.relname = 'element_type'
|
|
30143
|
+ AND a.attnum > 0
|
|
30144
|
+ AND a.attrelid = c.oid
|
|
30145
|
+ AND a.atttypid = t.oid
|
|
30146
|
+ AND n.oid = c.relnamespace
|
|
30147
|
+ ORDER BY a.attnum ([]) [] []
|
|
30148
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT r.conname, pg_catalog.pg_get_constraintdef(r.oid, true) as condef
|
|
30149
|
+ FROM pg_catalog.pg_constraint r
|
|
30150
|
+ WHERE r.conrelid =
|
|
30151
|
+ (
|
|
30152
|
+ SELECT c.oid
|
|
30153
|
+ FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n
|
|
30154
|
+ WHERE c.relname = 'element_type'
|
|
30155
|
+ AND n.oid = c.relnamespace
|
|
30156
|
+ )
|
|
30157
|
+ AND r.contype = 'f' ([]) [] []
|
|
30158
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT relname, pg_index.indisunique, pg_index.indisprimary,
|
|
30159
|
+ pg_index.indkey, pg_index.indrelid
|
|
30160
|
+ FROM pg_class, pg_index
|
|
30161
|
+ WHERE oid IN (
|
|
30162
|
+ SELECT indexrelid
|
|
30163
|
+ FROM pg_index si, pg_class sc, pg_namespace sn
|
|
30164
|
+ WHERE sc.relname = 'element_type' AND sc.oid=si.indrelid AND sc.relnamespace = sn.oid
|
|
30165
|
+ ) AND pg_index.indexrelid = oid ([]) [] []
|
|
30166
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
30167
|
+ WHERE attrelid=16400 AND attnum IN (1 ) ORDER BY attnum ASC; ([]) [] []
|
|
30168
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT
|
|
30169
|
+ a.attnum,
|
|
30170
|
+ a.attname AS field,
|
|
30171
|
+ t.typname AS type,
|
|
30172
|
+ format_type(a.atttypid, a.atttypmod) AS complete_type,
|
|
30173
|
+ (SELECT t1.typname FROM pg_catalog.pg_type t1 WHERE t1.oid = t.typbasetype) AS domain_type,
|
|
30174
|
+ (SELECT format_type(t2.typbasetype, t2.typtypmod) FROM pg_catalog.pg_type t2
|
|
30175
|
+ WHERE t2.typtype = 'd' AND t2.typname = format_type(a.atttypid, a.atttypmod)) AS domain_complete_type,
|
|
30176
|
+ a.attnotnull AS isnotnull,
|
|
30177
|
+ (SELECT 't'
|
|
30178
|
+ FROM pg_index
|
|
30179
|
+ WHERE c.oid = pg_index.indrelid
|
|
30180
|
+ AND pg_index.indkey[0] = a.attnum
|
|
30181
|
+ AND pg_index.indisprimary = 't'
|
|
30182
|
+ ) AS pri,
|
|
30183
|
+ (SELECT pg_attrdef.adsrc
|
|
30184
|
+ FROM pg_attrdef
|
|
30185
|
+ WHERE c.oid = pg_attrdef.adrelid
|
|
30186
|
+ AND pg_attrdef.adnum=a.attnum
|
|
30187
|
+ ) AS default,
|
|
30188
|
+ (SELECT pg_description.description
|
|
30189
|
+ FROM pg_description WHERE pg_description.objoid = c.oid AND a.attnum = pg_description.objsubid
|
|
30190
|
+ ) AS comment
|
|
30191
|
+ FROM pg_attribute a, pg_class c, pg_type t, pg_namespace n
|
|
30192
|
+ WHERE c.relname = 'tag'
|
|
30193
|
+ AND a.attnum > 0
|
|
30194
|
+ AND a.attrelid = c.oid
|
|
30195
|
+ AND a.atttypid = t.oid
|
|
30196
|
+ AND n.oid = c.relnamespace
|
|
30197
|
+ ORDER BY a.attnum ([]) [] []
|
|
30198
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT r.conname, pg_catalog.pg_get_constraintdef(r.oid, true) as condef
|
|
30199
|
+ FROM pg_catalog.pg_constraint r
|
|
30200
|
+ WHERE r.conrelid =
|
|
30201
|
+ (
|
|
30202
|
+ SELECT c.oid
|
|
30203
|
+ FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n
|
|
30204
|
+ WHERE c.relname = 'tag'
|
|
30205
|
+ AND n.oid = c.relnamespace
|
|
30206
|
+ )
|
|
30207
|
+ AND r.contype = 'f' ([]) [] []
|
|
30208
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT relname, pg_index.indisunique, pg_index.indisprimary,
|
|
30209
|
+ pg_index.indkey, pg_index.indrelid
|
|
30210
|
+ FROM pg_class, pg_index
|
|
30211
|
+ WHERE oid IN (
|
|
30212
|
+ SELECT indexrelid
|
|
30213
|
+ FROM pg_index si, pg_class sc, pg_namespace sn
|
|
30214
|
+ WHERE sc.relname = 'tag' AND sc.oid=si.indrelid AND sc.relnamespace = sn.oid
|
|
30215
|
+ ) AND pg_index.indexrelid = oid ([]) [] []
|
|
30216
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
30217
|
+ WHERE attrelid=16424 AND attnum IN (1 ) ORDER BY attnum ASC; ([]) [] []
|
|
30218
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT
|
|
30219
|
+ a.attnum,
|
|
30220
|
+ a.attname AS field,
|
|
30221
|
+ t.typname AS type,
|
|
30222
|
+ format_type(a.atttypid, a.atttypmod) AS complete_type,
|
|
30223
|
+ (SELECT t1.typname FROM pg_catalog.pg_type t1 WHERE t1.oid = t.typbasetype) AS domain_type,
|
|
30224
|
+ (SELECT format_type(t2.typbasetype, t2.typtypmod) FROM pg_catalog.pg_type t2
|
|
30225
|
+ WHERE t2.typtype = 'd' AND t2.typname = format_type(a.atttypid, a.atttypmod)) AS domain_complete_type,
|
|
30226
|
+ a.attnotnull AS isnotnull,
|
|
30227
|
+ (SELECT 't'
|
|
30228
|
+ FROM pg_index
|
|
30229
|
+ WHERE c.oid = pg_index.indrelid
|
|
30230
|
+ AND pg_index.indkey[0] = a.attnum
|
|
30231
|
+ AND pg_index.indisprimary = 't'
|
|
30232
|
+ ) AS pri,
|
|
30233
|
+ (SELECT pg_attrdef.adsrc
|
|
30234
|
+ FROM pg_attrdef
|
|
30235
|
+ WHERE c.oid = pg_attrdef.adrelid
|
|
30236
|
+ AND pg_attrdef.adnum=a.attnum
|
|
30237
|
+ ) AS default,
|
|
30238
|
+ (SELECT pg_description.description
|
|
30239
|
+ FROM pg_description WHERE pg_description.objoid = c.oid AND a.attnum = pg_description.objsubid
|
|
30240
|
+ ) AS comment
|
|
30241
|
+ FROM pg_attribute a, pg_class c, pg_type t, pg_namespace n
|
|
30242
|
+ WHERE c.relname = 'element'
|
|
30243
|
+ AND a.attnum > 0
|
|
30244
|
+ AND a.attrelid = c.oid
|
|
30245
|
+ AND a.atttypid = t.oid
|
|
30246
|
+ AND n.oid = c.relnamespace
|
|
30247
|
+ ORDER BY a.attnum ([]) [] []
|
|
30248
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT r.conname, pg_catalog.pg_get_constraintdef(r.oid, true) as condef
|
|
30249
|
+ FROM pg_catalog.pg_constraint r
|
|
30250
|
+ WHERE r.conrelid =
|
|
30251
|
+ (
|
|
30252
|
+ SELECT c.oid
|
|
30253
|
+ FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n
|
|
30254
|
+ WHERE c.relname = 'element'
|
|
30255
|
+ AND n.oid = c.relnamespace
|
|
30256
|
+ )
|
|
30257
|
+ AND r.contype = 'f' ([]) [] []
|
|
30258
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT relname, pg_index.indisunique, pg_index.indisprimary,
|
|
30259
|
+ pg_index.indkey, pg_index.indrelid
|
|
30260
|
+ FROM pg_class, pg_index
|
|
30261
|
+ WHERE oid IN (
|
|
30262
|
+ SELECT indexrelid
|
|
30263
|
+ FROM pg_index si, pg_class sc, pg_namespace sn
|
|
30264
|
+ WHERE sc.relname = 'element' AND sc.oid=si.indrelid AND sc.relnamespace = sn.oid
|
|
30265
|
+ ) AND pg_index.indexrelid = oid ([]) [] []
|
|
30266
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
30267
|
+ WHERE attrelid=16405 AND attnum IN (1 ) ORDER BY attnum ASC; ([]) [] []
|
|
30268
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
30269
|
+ WHERE attrelid=16405 AND attnum IN (2 ) ORDER BY attnum ASC; ([]) [] []
|
|
30270
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT
|
|
30271
|
+ a.attnum,
|
|
30272
|
+ a.attname AS field,
|
|
30273
|
+ t.typname AS type,
|
|
30274
|
+ format_type(a.atttypid, a.atttypmod) AS complete_type,
|
|
30275
|
+ (SELECT t1.typname FROM pg_catalog.pg_type t1 WHERE t1.oid = t.typbasetype) AS domain_type,
|
|
30276
|
+ (SELECT format_type(t2.typbasetype, t2.typtypmod) FROM pg_catalog.pg_type t2
|
|
30277
|
+ WHERE t2.typtype = 'd' AND t2.typname = format_type(a.atttypid, a.atttypmod)) AS domain_complete_type,
|
|
30278
|
+ a.attnotnull AS isnotnull,
|
|
30279
|
+ (SELECT 't'
|
|
30280
|
+ FROM pg_index
|
|
30281
|
+ WHERE c.oid = pg_index.indrelid
|
|
30282
|
+ AND pg_index.indkey[0] = a.attnum
|
|
30283
|
+ AND pg_index.indisprimary = 't'
|
|
30284
|
+ ) AS pri,
|
|
30285
|
+ (SELECT pg_attrdef.adsrc
|
|
30286
|
+ FROM pg_attrdef
|
|
30287
|
+ WHERE c.oid = pg_attrdef.adrelid
|
|
30288
|
+ AND pg_attrdef.adnum=a.attnum
|
|
30289
|
+ ) AS default,
|
|
30290
|
+ (SELECT pg_description.description
|
|
30291
|
+ FROM pg_description WHERE pg_description.objoid = c.oid AND a.attnum = pg_description.objsubid
|
|
30292
|
+ ) AS comment
|
|
30293
|
+ FROM pg_attribute a, pg_class c, pg_type t, pg_namespace n
|
|
30294
|
+ WHERE c.relname = 'elements_tag'
|
|
30295
|
+ AND a.attnum > 0
|
|
30296
|
+ AND a.attrelid = c.oid
|
|
30297
|
+ AND a.atttypid = t.oid
|
|
30298
|
+ AND n.oid = c.relnamespace
|
|
30299
|
+ ORDER BY a.attnum ([]) [] []
|
|
30300
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT r.conname, pg_catalog.pg_get_constraintdef(r.oid, true) as condef
|
|
30301
|
+ FROM pg_catalog.pg_constraint r
|
|
30302
|
+ WHERE r.conrelid =
|
|
30303
|
+ (
|
|
30304
|
+ SELECT c.oid
|
|
30305
|
+ FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n
|
|
30306
|
+ WHERE c.relname = 'elements_tag'
|
|
30307
|
+ AND n.oid = c.relnamespace
|
|
30308
|
+ )
|
|
30309
|
+ AND r.contype = 'f' ([]) [] []
|
|
30310
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT relname, pg_index.indisunique, pg_index.indisprimary,
|
|
30311
|
+ pg_index.indkey, pg_index.indrelid
|
|
30312
|
+ FROM pg_class, pg_index
|
|
30313
|
+ WHERE oid IN (
|
|
30314
|
+ SELECT indexrelid
|
|
30315
|
+ FROM pg_index si, pg_class sc, pg_namespace sn
|
|
30316
|
+ WHERE sc.relname = 'elements_tag' AND sc.oid=si.indrelid AND sc.relnamespace = sn.oid
|
|
30317
|
+ ) AND pg_index.indexrelid = oid ([]) [] []
|
|
30318
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
30319
|
+ WHERE attrelid=16429 AND attnum IN (1 ,2 ) ORDER BY attnum ASC; ([]) [] []
|
|
30320
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
30321
|
+ WHERE attrelid=16429 AND attnum IN (1 ) ORDER BY attnum ASC; ([]) [] []
|
|
30322
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
30323
|
+ WHERE attrelid=16429 AND attnum IN (2 ) ORDER BY attnum ASC; ([]) [] []
|
|
30324
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT
|
|
30325
|
+ a.attnum,
|
|
30326
|
+ a.attname AS field,
|
|
30327
|
+ t.typname AS type,
|
|
30328
|
+ format_type(a.atttypid, a.atttypmod) AS complete_type,
|
|
30329
|
+ (SELECT t1.typname FROM pg_catalog.pg_type t1 WHERE t1.oid = t.typbasetype) AS domain_type,
|
|
30330
|
+ (SELECT format_type(t2.typbasetype, t2.typtypmod) FROM pg_catalog.pg_type t2
|
|
30331
|
+ WHERE t2.typtype = 'd' AND t2.typname = format_type(a.atttypid, a.atttypmod)) AS domain_complete_type,
|
|
30332
|
+ a.attnotnull AS isnotnull,
|
|
30333
|
+ (SELECT 't'
|
|
30334
|
+ FROM pg_index
|
|
30335
|
+ WHERE c.oid = pg_index.indrelid
|
|
30336
|
+ AND pg_index.indkey[0] = a.attnum
|
|
30337
|
+ AND pg_index.indisprimary = 't'
|
|
30338
|
+ ) AS pri,
|
|
30339
|
+ (SELECT pg_attrdef.adsrc
|
|
30340
|
+ FROM pg_attrdef
|
|
30341
|
+ WHERE c.oid = pg_attrdef.adrelid
|
|
30342
|
+ AND pg_attrdef.adnum=a.attnum
|
|
30343
|
+ ) AS default,
|
|
30344
|
+ (SELECT pg_description.description
|
|
30345
|
+ FROM pg_description WHERE pg_description.objoid = c.oid AND a.attnum = pg_description.objsubid
|
|
30346
|
+ ) AS comment
|
|
30347
|
+ FROM pg_attribute a, pg_class c, pg_type t, pg_namespace n
|
|
30348
|
+ WHERE c.relname = 'users_tags_favorites'
|
|
30349
|
+ AND a.attnum > 0
|
|
30350
|
+ AND a.attrelid = c.oid
|
|
30351
|
+ AND a.atttypid = t.oid
|
|
30352
|
+ AND n.oid = c.relnamespace
|
|
30353
|
+ ORDER BY a.attnum ([]) [] []
|
|
30354
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT r.conname, pg_catalog.pg_get_constraintdef(r.oid, true) as condef
|
|
30355
|
+ FROM pg_catalog.pg_constraint r
|
|
30356
|
+ WHERE r.conrelid =
|
|
30357
|
+ (
|
|
30358
|
+ SELECT c.oid
|
|
30359
|
+ FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n
|
|
30360
|
+ WHERE c.relname = 'users_tags_favorites'
|
|
30361
|
+ AND n.oid = c.relnamespace
|
|
30362
|
+ )
|
|
30363
|
+ AND r.contype = 'f' ([]) [] []
|
|
30364
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT relname, pg_index.indisunique, pg_index.indisprimary,
|
|
30365
|
+ pg_index.indkey, pg_index.indrelid
|
|
30366
|
+ FROM pg_class, pg_index
|
|
30367
|
+ WHERE oid IN (
|
|
30368
|
+ SELECT indexrelid
|
|
30369
|
+ FROM pg_index si, pg_class sc, pg_namespace sn
|
|
30370
|
+ WHERE sc.relname = 'users_tags_favorites' AND sc.oid=si.indrelid AND sc.relnamespace = sn.oid
|
|
30371
|
+ ) AND pg_index.indexrelid = oid ([]) [] []
|
|
30372
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
30373
|
+ WHERE attrelid=16495 AND attnum IN (6 ) ORDER BY attnum ASC; ([]) [] []
|
|
30374
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
30375
|
+ WHERE attrelid=16495 AND attnum IN (5 ) ORDER BY attnum ASC; ([]) [] []
|
|
30376
|
+[2011-09-08 19:37:40] doctrine.DEBUG: SELECT attnum, attname FROM pg_attribute
|
|
30377
|
+ WHERE attrelid=16495 AND attnum IN (3 ) ORDER BY attnum ASC; ([]) [] []
|
|
30378
|
+[2011-09-08 19:37:40] doctrine.DEBUG: ALTER TABLE element ADD user_id INT DEFAULT NULL ([]) [] []
|
|
30379
|
+[2011-09-08 19:37:40] doctrine.DEBUG: ALTER TABLE element ADD CONSTRAINT FK_41405E39A76ED395 FOREIGN KEY (user_id) REFERENCES muzich_user(id) NOT DEFERRABLE INITIALLY IMMEDIATE ([]) [] []
|
|
30380
|
+[2011-09-08 19:37:40] doctrine.DEBUG: CREATE INDEX IDX_41405E39A76ED395 ON element (user_id) ([]) [] []
|
|
30381
|
+[2011-09-08 19:37:40] doctrine.DEBUG: ALTER TABLE muzich_user ALTER roles TYPE TEXT ([]) [] []
|