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 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 );
You can’t perform that action at this time.
0 commit comments