From: kyle at kipr dot org Operating system: RH9.0 Linux PHP version: 4.3.3 PHP Bug Type: Feature/Change Request Bug description: Return value for pg_insert should be resource instead of bool
Description: ------------ Currently, pg_insert() returns a bool rather than a resource. Usually, insert queries return resources which can be passed to pg_last_oid() for pulling the OID of that insert statement's created row. However, nothing can really be done with the "true" return value given by pg_insert(), therefore making it not quite as useful a function as it could be. -- Edit bug report at http://bugs.php.net/?id=25854&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25854&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25854&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25854&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25854&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25854&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25854&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25854&r=support Expected behavior: http://bugs.php.net/fix.php?id=25854&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25854&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25854&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25854&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25854&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25854&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25854&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25854&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25854&r=float
