From: dqj at requesttech dot com
Operating system: Redhat 9.0
PHP version: 4.3.3
PHP Bug Type: Reproducible crash
Bug description: pg_lo_import causes crash under all cirstances

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 doentation.

Reproduce code:
$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

Edit bug report at [url][/url]
Try a CVS snapshot (php4): [url][/url]
Try a CVS snapshot (php5): [url][/url]
Fixed in CVS: [url][/url]
Fixed in release: [url][/url]
Need backtrace: [url][/url]
Try newer version: [url][/url]
Not developer issue: [url][/url]
Expected behavior: [url][/url]
Not enough info: [url][/url]
Submitted twice: [url][/url]
register_globals: [url][/url]
PHP 3 support discontinued: [url][/url]
Daylight Savings: [url][/url]
IIS Stability: [url][/url]
Install GNU Sed: [url][/url]
Floating point limitations: [url][/url]