Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit82f18c4

Browse files
committed
Fix relkind test for pg_tables.
Mike Quinn
1 parent8f146a9 commit82f18c4

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)

[8]ページ先頭

©2009-2025 Movatter.jp