diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-05-14 03:26:03 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-05-14 03:26:03 +0000 |
| commit | f85f43dfb5b9043ea6b01d8b824c195cd7f9ed3c (patch) | |
| tree | 149a8221767ed2e9c63adc58cc88c4d8faca5381 /contrib/vacuumlo | |
| parent | d9b679c13a820eb7b464a1eeb1f177c3fea13ece (diff) | |
| download | postgresql-f85f43dfb5b9043ea6b01d8b824c195cd7f9ed3c.tar.gz | |
Backend support for autocommit removed, per recent discussions. The
only remnant of this failed experiment is that the server will take
SET AUTOCOMMIT TO ON. Still TODO: provide some client-side autocommit
logic in libpq.
Diffstat (limited to 'contrib/vacuumlo')
| -rw-r--r-- | contrib/vacuumlo/vacuumlo.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/contrib/vacuumlo/vacuumlo.c b/contrib/vacuumlo/vacuumlo.c index 3d30f0b7b3..cc86e70ed5 100644 --- a/contrib/vacuumlo/vacuumlo.c +++ b/contrib/vacuumlo/vacuumlo.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/contrib/vacuumlo/vacuumlo.c,v 1.19 2002/12/10 01:57:16 momjian Exp $ + * $Header: /cvsroot/pgsql/contrib/vacuumlo/vacuumlo.c,v 1.20 2003/05/14 03:25:57 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -218,17 +218,6 @@ vacuumlo(char *database, struct _param * param) } PQclear(res); - res = PQexec(conn, "SET autocommit TO 'on'"); - if (PQresultStatus(res) != PGRES_COMMAND_OK) - { - fprintf(stderr, "Failed to set autocommit on:\n"); - fprintf(stderr, "%s", PQerrorMessage(conn)); - PQclear(res); - PQfinish(conn); - return -1; - } - PQclear(res); - /* * First we create and populate the LO temp table */ |
