index 810f9cd36cac3e575f3b3d521036cf0da29ee9bf..93da782f9a0c87d6677ccc02f3bce4ad441d6d1d 100644 (file)
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/contrib/vacuumlo/vacuumlo.c,v 1.30 2005年10月15日 02:49:08 momjian Exp $
+ * $PostgreSQL: pgsql/contrib/vacuumlo/vacuumlo.c,v 1.31 2006年02月23日 22:33:59 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -167,7 +167,7 @@ vacuumlo(char *database, struct _param * param)
strcat(buf, " AND c.relnamespace = s.oid ");
strcat(buf, " AND t.typname in ('oid', 'lo') ");
strcat(buf, " AND c.relkind = 'r'");
- strcat(buf, " AND s.nspname NOT LIKE 'pg\\\\_%'");
+ strcat(buf, " AND s.nspname !~ '^pg_'");
res = PQexec(conn, buf);
if (PQresultStatus(res) != PGRES_TUPLES_OK)
{