Test: /ext/pdo_pgsql/tests/bug62498.phpt - Version 7.1.0RC3        

Feature/Change Request #62498 pdo_pgsql inefficient when getColumnMeta() is used
Submitted: 2012-07-07 09:47:04 Modified: 2016-04-05 13:43:38
From: c.kworr Assigned: ab
Status: Closed Package: PostgreSQL related
PHP Version: 5.3.14 OS: FreeBSD 9.0

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
002+
003+ Fatal error: Uncaught PDOException: SQLSTATE[08006] [7] fe_sendauth: no password supplied in /home/sasa/Downloads/php-7.1.0RC3/ext/pdo/tests/pdo_test.inc:35
004+ Stack trace:
005+ #0 /home/sasa/Downloads/php-7.1.0RC3/ext/pdo/tests/pdo_test.inc(35): PDO->__construct('pgsql:host=loca...', NULL, NULL, NULL)
006+ #1 /home/sasa/Downloads/php-7.1.0RC3/ext/pdo/tests/pdo_test.inc(73): PDOTest::factory()
007+ #2 %s/bug62498.php(5): PDOTest::test_factory('/home/sasa/Down...')
008+ #3 {main}
009+ thrown in /home/sasa/Downloads/php-7.1.0RC3/ext/pdo/tests/pdo_test.inc on line 35
002- array(9) {
003- [0]=>
004- array(8) {
005- ["pgsql:oid"]=>
006- int(21)
007- ["pgsql:table_oid"]=>
008- int(%d)
009- ["table"]=>
010- string(13) "bugtest_62498"
011- ["native_type"]=>
012- string(4) "int2"
013- ["name"]=>
014- string(7) "int2col"
015- ["len"]=>
016- int(2)
017- ["precision"]=>
018- int(-1)
019- ["pdo_type"]=>
020- int(1)
021- }
022- [1]=>
023- array(8) {
024- ["pgsql:oid"]=>
025- int(23)
026- ["pgsql:table_oid"]=>
027- int(%d)
028- ["table"]=>
029- string(13) "bugtest_62498"
030- ["native_type"]=>
031- string(4) "int4"
032- ["name"]=>
033- string(7) "int4col"
034- ["len"]=>
035- int(4)
036- ["precision"]=>
037- int(-1)
038- ["pdo_type"]=>
039- int(1)
040- }
041- [2]=>
042- array(8) {
043- ["pgsql:oid"]=>
044- int(20)
045- ["pgsql:table_oid"]=>
046- int(%d)
047- ["table"]=>
048- string(13) "bugtest_62498"
049- ["native_type"]=>
050- string(4) "int8"
051- ["name"]=>
052- string(7) "int8col"
053- ["len"]=>
054- int(8)
055- ["precision"]=>
056- int(-1)
057- ["pdo_type"]=>
058- int(1)
059- }
060- [3]=>
061- array(8) {
062- ["pgsql:oid"]=>
063- int(1043)
064- ["pgsql:table_oid"]=>
065- int(%d)
066- ["table"]=>
067- string(13) "bugtest_62498"
068- ["native_type"]=>
069- string(7) "varchar"
070- ["name"]=>
071- string(9) "stringcol"
072- ["len"]=>
073- int(-1)
074- ["precision"]=>
075- int(259)
076- ["pdo_type"]=>
077- int(2)
078- }
079- [4]=>
080- array(8) {
081- ["pgsql:oid"]=>
082- int(16)
083- ["pgsql:table_oid"]=>
084- int(%d)
085- ["table"]=>
086- string(13) "bugtest_62498"
087- ["native_type"]=>
088- string(4) "bool"
089- ["name"]=>
090- string(7) "boolcol"
091- ["len"]=>
092- int(1)
093- ["precision"]=>
094- int(-1)
095- ["pdo_type"]=>
096- int(5)
097- }
098- [5]=>
099- array(8) {
100- ["pgsql:oid"]=>
101- int(1082)
102- ["pgsql:table_oid"]=>
103- int(%d)
104- ["table"]=>
105- string(13) "bugtest_62498"
106- ["native_type"]=>
107- string(4) "date"
108- ["name"]=>
109- string(7) "datecol"
110- ["len"]=>
111- int(4)
112- ["precision"]=>
113- int(-1)
114- ["pdo_type"]=>
115- int(2)
116- }
117- [6]=>
118- array(8) {
119- ["pgsql:oid"]=>
120- int(25)
121- ["pgsql:table_oid"]=>
122- int(%d)
123- ["table"]=>
124- string(13) "bugtest_62498"
125- ["native_type"]=>
126- string(4) "text"
127- ["name"]=>
128- string(7) "textcol"
129- ["len"]=>
130- int(-1)
131- ["precision"]=>
132- int(-1)
133- ["pdo_type"]=>
134- int(2)
135- }
136- [7]=>
137- array(8) {
138- ["pgsql:oid"]=>
139- int(1114)
140- ["pgsql:table_oid"]=>
141- int(%d)
142- ["table"]=>
143- string(13) "bugtest_62498"
144- ["native_type"]=>
145- string(9) "timestamp"
146- ["name"]=>
147- string(5) "tscol"
148- ["len"]=>
149- int(8)
150- ["precision"]=>
151- int(-1)
152- ["pdo_type"]=>
153- int(2)
154- }
155- [8]=>
156- array(8) {
157- ["pgsql:oid"]=>
158- int(17)
159- ["pgsql:table_oid"]=>
160- int(%d)
161- ["table"]=>
162- string(13) "bugtest_62498"
163- ["native_type"]=>
164- string(5) "bytea"
165- ["name"]=>
166- string(8) "byteacol"
167- ["len"]=>
168- int(-1)
169- ["precision"]=>
170- int(-1)
171- ["pdo_type"]=>
172- int(3)
173- }
174- }
175- Done