Skip to content

Commit 8237626

Browse files
author
Yasuo Ohgaki
committed
remove pg_execute() E_WARNING error when query plan is not defined
1 parent 0b02327 commit 8237626

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ext/pgsql/pgsql.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1520,7 +1520,6 @@ PHP_FUNCTION(pg_execute)
15201520
case PGRES_BAD_RESPONSE:
15211521
case PGRES_NONFATAL_ERROR:
15221522
case PGRES_FATAL_ERROR:
1523-
PHP_PQ_ERROR("Query failed: %s", pgsql);
15241523
PQclear(pgsql_result);
15251524
RETURN_FALSE;
15261525
break;

0 commit comments

Comments
 (0)