mirror of
https://github.com/postgres/postgres.git
synced 2025-05-06 19:59:18 +03:00
Make LO patter consistent with psql.
This commit is contained in:
parent
51b03770d7
commit
5c34462d9c
@ -21,7 +21,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.31 1997/06/07 05:19:06 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.32 1997/06/07 05:29:22 momjian Exp $
|
||||||
*
|
*
|
||||||
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
|
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
|
||||||
*
|
*
|
||||||
@ -1081,7 +1081,7 @@ getTables(int *numTables)
|
|||||||
sprintf(query,
|
sprintf(query,
|
||||||
"SELECT oid, relname, relarch, relkind, relacl from pg_class "
|
"SELECT oid, relname, relarch, relkind, relacl from pg_class "
|
||||||
"where (relkind = 'r' or relkind = 'S') and relname !~ '^pg_' "
|
"where (relkind = 'r' or relkind = 'S') and relname !~ '^pg_' "
|
||||||
"and relname !~ '^xinv[0-9]' order by oid;");
|
"and relname !~ '^xin[xv][0-9]+' order by oid;");
|
||||||
|
|
||||||
res = PQexec(g_conn, query);
|
res = PQexec(g_conn, query);
|
||||||
if (!res ||
|
if (!res ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user