From f028fcecb5bc8f11ee1af9fb1c04258b81dd9561 Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Wed, 29 Mar 2006 01:10:27 +0000 Subject: [PATCH] restore E_WARNING in correct place --- ext/pgsql/pgsql.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 65bc13ea4e..69748001ee 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -1522,6 +1522,7 @@ PHP_FUNCTION(pg_execute) case PGRES_NONFATAL_ERROR: case PGRES_FATAL_ERROR: PQclear(pgsql_result); + PHP_PQ_ERROR("Query failed: %s", pgsql); RETURN_FALSE; break; case PGRES_COMMAND_OK: /* successful command that did not return rows */ -- 2.50.1