Re: [PHP4BETA] PostgreSQL - Bug ?

From: Date: Tue, 14 Sep 1999 13:48:23 +0000
Subject: Re: [PHP4BETA] PostgreSQL - Bug ?
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-4428@lists.php.net to get a copy of this message
Hello! I think i'v found a bug in postgresql module for php4. following code: $objid = pg_locreate($fd); $f = pg_loopen($fd,$objid,"w"); pg_lowrite($f, $str); return $objid; is ok. but $file = pg_loopen($fd,$oid,"r"); pg_loreadall($file); couses the following warning message: Warning: Unable to open PostgresSQL large object in include/blob.inc on line 66 Warning: 0 is not a PostgresSQL large object index in include/blob.inc on line 67 right now i'm useing a dirty hack with SQL select, but i think it's really important...or maybe I'm doing something wrong? GWIDo -- [ Jarosław Sygitowicz ] [ http://linux.news.pl ] [ gwido@paiz.gov.pl ] [ fast: 501020736@sms.e-biznes.pl ] [ http://video4.linux.pl ] [ --- ] [ If you want something to be done good... do it yourself! ] [ ----- ] [ Home page: http://golem.melog.com.pl/~gwido ] [ ------------------ ]

« previous php.version4 (#4428) next »