Browse Source

Postgres decision on this

PEAR_1_4DEV
Marcus Boerger 23 years ago
parent
commit
dd781dcdc9
  1. 2
      ext/pgsql/pgsql.c

2
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;

Loading…
Cancel
Save