Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc66259

Browse files
committed
Following patch avoids removing oids in the temporary table from the
temporary table. Kenji Sugita
1 parent b842726 commit bc66259

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/vacuumlo/vacuumlo.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/contrib/vacuumlo/vacuumlo.c,v 1.18 2002/12/03 07:12:18 tgl Exp $
11+
* $Header: /cvsroot/pgsql/contrib/vacuumlo/vacuumlo.c,v 1.19 2002/12/10 01:57:16 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -284,6 +284,7 @@ vacuumlo(char *database, struct _param * param)
284284
strcat(buf, " AND t.typname in ('oid', 'lo') ");
285285
strcat(buf, " AND c.relkind = 'r'");
286286
strcat(buf, " AND c.relname NOT LIKE 'pg_%'");
287+
strcat(buf, " AND c.relname != 'vacuum_l'");
287288
res = PQexec(conn, buf);
288289
if (PQresultStatus(res) != PGRES_TUPLES_OK)
289290
{

0 commit comments

Comments
 (0)