We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 737651f commit f87d487Copy full SHA for f87d487
contrib/vacuumlo/vacuumlo.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $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 $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -167,7 +167,7 @@ vacuumlo(char *database, struct _param * param)
167
strcat(buf, " AND c.relnamespace = s.oid ");
168
strcat(buf, " AND t.typname in ('oid', 'lo') ");
169
strcat(buf, " AND c.relkind = 'r'");
170
- strcat(buf, " AND s.nspname NOT LIKE 'pg\\\\_%'");
+ strcat(buf, " AND s.nspname !~ '^pg_'");
171
res = PQexec(conn, buf);
172
if (PQresultStatus(res) != PGRES_TUPLES_OK)
173
{
0 commit comments