File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* 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 $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
@@ -111,7 +111,7 @@ vacuumlo(char *database, int verbose)
111
111
strcat (buf , "WHERE a.attnum > 0 " );
112
112
strcat (buf , " AND a.attrelid = c.oid " );
113
113
strcat (buf , " AND a.atttypid = t.oid " );
114
- strcat (buf , " AND t.typname = 'oid' " );
114
+ strcat (buf , " AND t.typname in ( 'oid', 'lo') " );
115
115
strcat (buf , " AND c.relkind = 'r'" );
116
116
strcat (buf , " AND c.relname NOT LIKE 'pg_%'" );
117
117
res = PQexec (conn , buf );
You can’t perform that action at this time.
0 commit comments