vacuumlo patch - Mailing list pgsql-patches

From Kenji Sugita
Subject vacuumlo patch
Date
Msg-id 20021207.122033.41635184.sugita@sra.co.jp
Whole thread Raw
Responses Re: vacuumlo patch
Re: vacuumlo patch
List pgsql-patches
Following patch avoids removing oids in the temporary table from the temporary
table.
Index: vacuumlo.c
===================================================================
RCS file: /projects/cvsroot/pgsql-server/contrib/vacuumlo/vacuumlo.c,v
retrieving revision 1.17.2.1
diff -u -r1.17.2.1 vacuumlo.c
--- vacuumlo.c    2002/12/03 07:12:23    1.17.2.1
+++ vacuumlo.c    2002/12/07 03:14:29
@@ -284,6 +284,7 @@
     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)
     {

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Hierarchical queries a la Oracle patch. for 7.3rc1.
Next
From: Rod Taylor
Date:
Subject: Alter Domain fixes