Skip to content

Commit 82f18c4

Browse files
committed
Fix relkind test for pg_tables.
Mike Quinn
1 parent 8f146a9 commit 82f18c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/initdb/initdb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
2828
# Portions Copyright (c) 1994, Regents of the University of California
2929
#
30-
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.195 2003/07/15 00:11:14 tgl Exp $
30+
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.196 2003/07/21 15:20:27 momjian Exp $
3131
#
3232
#-------------------------------------------------------------------------
3333

@@ -786,7 +786,7 @@ CREATE VIEW pg_tables AS \
786786
C.relhasrules AS hasrules, \
787787
(C.reltriggers > 0) AS hastriggers \
788788
FROM pg_class C LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace) \
789-
WHERE C.relkind IN ('r', 's');
789+
WHERE C.relkind IN ('r', 'S');
790790
791791
CREATE VIEW pg_indexes AS \
792792
SELECT \

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy