summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2006-03-28 00:28:02 +0000
committerYasuo Ohgaki <yohgaki@php.net>2006-03-28 00:28:02 +0000
commitcdbe8b4fd876219f5c67376474d3bb6bcc9c401b (patch)
tree135cc1aa1a70fb218a40de72643a767459c19f54
parent4ca3df56d356ed8c3b55695ed588783e3f91378c (diff)
downloadphp-git-cdbe8b4fd876219f5c67376474d3bb6bcc9c401b.tar.gz
reenable pg_execute E_WARNING
-rw-r--r--ext/pgsql/pgsql.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index 34d34f4449..60cd217757 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -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;