mirror of
https://github.com/postgres/postgres.git
synced 2026-05-28 04:35:45 -04:00
Fix relkind test for pg_tables.
Mike Quinn
This commit is contained in:
parent
8f146a9077
commit
82f18c4a2c
1 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@
|
|||
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
# Portions Copyright (c) 1994, Regents of the University of California
|
||||
#
|
||||
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.195 2003/07/15 00:11:14 tgl Exp $
|
||||
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.196 2003/07/21 15:20:27 momjian Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
|
|
@ -786,7 +786,7 @@ CREATE VIEW pg_tables AS \
|
|||
C.relhasrules AS hasrules, \
|
||||
(C.reltriggers > 0) AS hastriggers \
|
||||
FROM pg_class C LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace) \
|
||||
WHERE C.relkind IN ('r', 's');
|
||||
WHERE C.relkind IN ('r', 'S');
|
||||
|
||||
CREATE VIEW pg_indexes AS \
|
||||
SELECT \
|
||||
|
|
|
|||
Loading…
Reference in a new issue