summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2002-12-10 01:57:16 +0000
committerBruce Momjian2002-12-10 01:57:16 +0000
commitbc6625970c96773b848ceaaaeaf5dd98df2fcab2 (patch)
tree17d3aafe8579527c319697209c165b626e4ef822
parentb842726fc7a2b2f45b567eb03610ab71fad8d89a (diff)
Following patch avoids removing oids in the temporary table from the
temporary table. Kenji Sugita
-rw-r--r--contrib/vacuumlo/vacuumlo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/vacuumlo/vacuumlo.c b/contrib/vacuumlo/vacuumlo.c
index aa3a09ddaf0..3d30f0b7b37 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.18 2002/12/03 07:12:18 tgl Exp $
+ * $Header: /cvsroot/pgsql/contrib/vacuumlo/vacuumlo.c,v 1.19 2002/12/10 01:57:16 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -284,6 +284,7 @@ vacuumlo(char *database, struct _param * param)
strcat(buf, " AND t.typname in ('oid', 'lo') ");
strcat(buf, " AND c.relkind = 'r'");
strcat(buf, " AND c.relname NOT LIKE 'pg_%'");
+ strcat(buf, " AND c.relname != 'vacuum_l'");
res = PQexec(conn, buf);
if (PQresultStatus(res) != PGRES_TUPLES_OK)
{