ID:               14383
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Assigned
 Bug Type:         DBM/DBA related
 Operating System: FreeBSD 4.4-STABLE
 PHP Version:      4.2.0-dev
 Assigned To:      yohgaki
 New Comment:

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========



Previous Comments:
------------------------------------------------------------------------

[2001-12-13 04:40:28] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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.


------------------------------------------------------------------------

[2001-12-13 02:51:58] [EMAIL PROTECTED]

No, I've not tried it with 4.1.0.

I'm trying to get it or one of the snaps right now and
the servers are slllowwww...:(
Will report back when I get it tested.

--
GB


------------------------------------------------------------------------

[2001-12-13 02:39:11] [EMAIL PROTECTED]

Did you try it with 4.1.0? Do you still have the problem?
If you still have problem, could you try snapshot also?

http://snaps.php.net/

If you still have problem with snapshot, I'll look into what's wrong.

------------------------------------------------------------------------

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

Reply via email to