]> granicus.if.org Git - php/commitdiff
reenable pg_execute E_WARNING
authorYasuo Ohgaki <yohgaki@php.net>
Tue, 28 Mar 2006 00:28:02 +0000 (00:28 +0000)
committerYasuo Ohgaki <yohgaki@php.net>
Tue, 28 Mar 2006 00:28:02 +0000 (00:28 +0000)
ext/pgsql/pgsql.c

index 34d34f444953209245c5fccb500723b0af7d93c2..60cd21775762cd225b428a99c88cd09b0397c6a5 100644 (file)
@@ -1520,6 +1520,7 @@ PHP_FUNCTION(pg_execute)
                case PGRES_BAD_RESPONSE:
                case PGRES_NONFATAL_ERROR:
                case PGRES_FATAL_ERROR:
+                       PHP_PQ_ERROR("Query failed: %s", pgsql);
                        PQclear(pgsql_result);
                        RETURN_FALSE;
                        break;