#14383 [NoF->Csd]: using postgres with DBA causes DBA not to be able to find any keys.
| From: | helly@php.net | Date: | Mon, 19 May 2003 23:13:09 +0000 |
| Subject: | #14383 [NoF->Csd]: using postgres with DBA causes DBA not to be able to find any keys. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-39996@lists.php.net to get a copy of this message | ||
ID: 14383
Updated by: helly@php.net
Reported By: gclarkii at vsservices dot com
-Status: No Feedback
+Status: Closed
Bug Type: DBM/DBA related
Operating System: FreeBSD 4.4-STABLE
PHP Version: 4.2.0-dev
-Assigned To: yohgaki
+Assigned To: helly
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-01-11 11:49:25] helly@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2002-11-06 06:00:30] helly@php.net
For me it works, i think.
Could you please try latest cvs version copy new test below to
ext/pgsql/tests/30_bug14383.phpt and run the following test script
using:
php run-tests.php ext/pgsql
===ext/pgsql/tests/30_bug14383.phpt============
--TEST--
Bug 14383
--SKIPIF--
<?php
require_once(dirname(__FILE__).'/../../dba/tests/skipif.inc');
require_once('skipif.inc');
?>
--FILE--
<?php
require_once('config.inc');
$dbh = @pg_connect($conn_str);
if (!$dbh) {
die ("Could not connect to the server");
}
pg_close($dbh);
require_once(dirname(__FILE__).'/../../dba/tests/test.inc');
require_once(dirname(__FILE__).'/../../dba/tests/dba_handler.inc');
?>
--EXPECTF--
database handler: %s
3NYNYY
Content String 2
Content 2 replaced
Read during write permitted
Content 2 replaced 2nd time
The 6th value
array(3) {
["key number 6"]=>
string(13) "The 6th value"
["key2"]=>
string(27) "Content 2 replaced 2nd time"
["key5"]=>
string(23) "The last content string"
}
===EOF ext/pgsql/tests/30_bug14383.phpt========
------------------------------------------------------------------------
[2001-12-13 04:40:28] yohgaki@php.net
Thanks a lot.
I'll take a look at source. It could be hard to figure out
what's wrong. Please be patient.
Since I don't use FreeBSD, I might ask something later.
------------------------------------------------------------------------
[2001-12-13 03:29:55] gclarkii at vsservices dot com
Hi,
Yes the latest snapshop has the same error.
Again, if I comment out the pg_connect call it
works just fine.
------------------------------------------------------------------------
[2001-12-13 03:17:09] gclarkii at vsservices dot com
Ok,
I just tested it with 4.1.0 and I still get the exact same
error, no change.
I'll try to get a snap if I can and try it.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/14383
--
Edit this bug report at http://bugs.php.net/?id=14383&edit=1