From: Marcus Boerger Date: Tue, 22 Jul 2003 21:12:32 +0000 (+0000) Subject: Postgres decision on this X-Git-Tag: BEFORE_ARG_INFO~134 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd781dcdc960338412000a55459116a4a5c245cd;p=php Postgres decision on this --- diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 381da5eaf3..e7dfaca30e 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -626,7 +626,7 @@ static void php_pgsql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) } if (atof(PG_VERSION) >= 7.2) { PGresult *pg_result; - pg_result = PQexec(le->ptr, "RESET ALL"); + pg_result = PQexec(le->ptr, "BEGIN;COMMIT;RESET ALL;"); PQclear(pg_result); } pgsql = (PGconn *) le->ptr;