helly Tue Jul 22 17:12:32 2003 EDT Modified files: /php-src/ext/pgsql pgsql.c Log: Postgres decision on this Index: php-src/ext/pgsql/pgsql.c diff -u php-src/ext/pgsql/pgsql.c:1.281 php-src/ext/pgsql/pgsql.c:1.282 --- php-src/ext/pgsql/pgsql.c:1.281 Mon Jul 21 16:53:00 2003 +++ php-src/ext/pgsql/pgsql.c Tue Jul 22 17:12:32 2003 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pgsql.c,v 1.281 2003/07/21 20:53:00 helly Exp $ */ +/* $Id: pgsql.c,v 1.282 2003/07/22 21:12:32 helly Exp $ */ #include <stdlib.h> @@ -626,7 +626,7 @@ } 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;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php