ID:               26043
 Updated by:       [EMAIL PROTECTED]
 Reported By:      dqj at requesttech dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         PostgreSQL related
 Operating System: Redhat 9.0
 PHP Version:      4.3.3
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip




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

[2003-10-30 13:48:23] dqj at requesttech dot com

Description:
------------
No changes to php.ini distribution.  No output shown in logs.  Just
doesn't finish the page.  (I have put echoes and breaks in to narrow it
to the pg_lo_import() call).  We have checked file permissions, etc. 
This code has worked under PHP 4.2 and other versions.  Have tried
switching the pg_lo_import parameters back and forth, just in case, as
described in the bug documentation.



Reproduce code:
---------------
<?php
$res = pg_connect( "host=myhost dbname=mytest user=myuser password=zzz"
);
pg_exec( $res, "BEGIN" );
$oid = pg_lo_import( $res, "/tmp/dqj.tmp" );
pg_exec( $res, "COMMIT" );
echo "RES: $res, OID: $oid<br/>"; flush();
?>


Expected result:
----------------
$oid should have a value. Echoed results should appear.


Actual result:
--------------
Blank page.  (Or echoed results prior to subroutine call, if debug is
included.)



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


-- 
Edit this bug report at http://bugs.php.net/?id=26043&edit=1

Reply via email to