Doc #73036 [NEW]: pg_insert() now returns a resource ID instead of boolean

From: Date: Tue, 06 Sep 2016 21:08:30 +0000
Subject: Doc #73036 [NEW]: pg_insert() now returns a resource ID instead of boolean
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-13885@lists.php.net to get a copy of this message
From: tony at precisonline dot com Operating system: Windows PHP version: 5.6.25 Package: PostgreSQL related Bug Type: Documentation Problem Bug description:pg_insert() now returns a resource ID instead of boolean Description: ------------ --- From manual page: http://www.php.net/function.pg-insert --- pg_insert() now returns a resource ID instead of boolean A bug report was marked as closed with this change on 2014-02-16: https://bugs.php.net/bug.php?id=25854 Test script: --------------- $conn = pg_connect($connString); $insert = array( 'name' => 'test' ); $result = pg_insert($conn, 'test', $insert); var_dump($result); Expected result: ---------------- bool(true) Actual result: -------------- resource(3) of type (pgsql result) -- Edit bug report at https://bugs.php.net/bug.php?id=73036&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73036&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73036&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73036&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=73036&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=73036&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=73036&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=73036&r=needscript Try newer version: https://bugs.php.net/fix.php?id=73036&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=73036&r=support Expected behavior: https://bugs.php.net/fix.php?id=73036&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=73036&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=73036&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=73036&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73036&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=73036&r=dst IIS Stability: https://bugs.php.net/fix.php?id=73036&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=73036&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=73036&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=73036&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=73036&r=mysqlcfg

« previous php.doc.bugs (#13885) next »