cvs: php-src /ext/pgsql pgsql.c
| From: | Marcus Boerger | Date: | Tue, 22 Jul 2003 21:12:32 +0000 |
| Subject: | cvs: php-src /ext/pgsql pgsql.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-22725@lists.php.net to get a copy of this message | ||
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;