From b18e6c19c91fd4ba162fd08913e120258238a7f2 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Wed, 12 Oct 2016 17:11:52 +0000 Subject: [PATCH] Fix #73036: pg_insert() now returns a resource ID instead of boolean git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340460 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pgsql/functions/pg-insert.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/reference/pgsql/functions/pg-insert.xml b/reference/pgsql/functions/pg-insert.xml index 8434d5b754..4789d4bbba 100644 --- a/reference/pgsql/functions/pg-insert.xml +++ b/reference/pgsql/functions/pg-insert.xml @@ -79,7 +79,7 @@ &reftitle.returnvalues; - &return.success; Returns string if PGSQL_DML_STRING is passed + Returns the connection resource on success, &return.falseforfailure;. Returns string if PGSQL_DML_STRING is passed via options. @@ -119,6 +119,13 @@ + + 5.6.0 + + Unless PGSQL_DML_STRING is passed, the function + now returns the connection resource instead of &true; on success. + + 5.6.0