|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-02-27 03:40 UTC] levim@php.net
-Package: SPL related
+Package: PostgreSQL related
[2014-03-11 03:16 UTC] yohgaki@php.net
-Type: Bug
+Type: Feature/Change Request
-Assigned To:
+Assigned To: yohgaki
[2014-03-11 03:16 UTC] yohgaki@php.net
[2014-03-13 18:20 UTC] tap3ahchina at gmail dot com
[2014-03-15 00:44 UTC] yohgaki@php.net
-Type: Feature/Change Request
+Type: Documentation Problem
[2014-03-15 00:44 UTC] yohgaki@php.net
[2014-07-09 05:54 UTC] yohgaki@php.net
[2014-07-09 05:54 UTC] yohgaki@php.net
-Status: Assigned
+Status: Closed
[2020-02-07 06:08 UTC] phpdocbot@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 21 13:00:01 2025 UTC |
Description: ------------ Build: PHP 5.5.8 (cli) (built: Jan 9 2014 08:33:30) Documentation for pg_result_error states: "Returns a string if there is an error associated with the result parameter, FALSE otherwise." but empty String ("") is returned. Test script: --------------- $conn = pg_pconnect("host=... port=5432 dbname=myDB user='postgres' password='...'"); pg_send_query($conn, "SELECT count(*) FROM existingTable;"); $ress = pg_get_result($conn); $errmsg = pg_result_error($ress); var_dump($errmsg); Expected result: ---------------- bool(false) Actual result: -------------- string(0) ""