mirror of
https://github.com/php/php-src.git
synced 2026-04-28 02:33:17 +02:00
Postgres decision on this
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user