Skip to content

Commit c6cb870

Browse files
author
Hiroshi Inoue
committed
Change vacuumlo to take 'lo' type into account.
1 parent 29481e1 commit c6cb870

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/vacuumlo/vacuumlo.c

Lines changed: 2 additions & 2 deletions
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.9 2001/03/22 03:59:11 momjian Exp $
11+
* $Header: /cvsroot/pgsql/contrib/vacuumlo/vacuumlo.c,v 1.10 2001/09/17 02:30:54 inoue Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -111,7 +111,7 @@ vacuumlo(char *database, int verbose)
111111
strcat(buf, "WHERE a.attnum > 0 ");
112112
strcat(buf, " AND a.attrelid = c.oid ");
113113
strcat(buf, " AND a.atttypid = t.oid ");
114-
strcat(buf, " AND t.typname = 'oid' ");
114+
strcat(buf, " AND t.typname in ('oid', 'lo') ");
115115
strcat(buf, " AND c.relkind = 'r'");
116116
strcat(buf, " AND c.relname NOT LIKE 'pg_%'");
117117
res = PQexec(conn, buf);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy