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

Commit8b3414d

Browse files
committed
Uppercase a few keywords in queries.
1 parentce26858 commit8b3414d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/bin/psql/describe.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2003, PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.86 2003/10/17 00:57:04 tgl Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.87 2003/10/26 02:53:45 momjian Exp $
77
*/
88
#include"postgres_fe.h"
99
#include"describe.h"
@@ -549,7 +549,7 @@ objectDescription(const char *pattern)
549549

550550
appendPQExpBuffer(&buf,
551551
") AS tt\n"
552-
" JOIN pg_catalog.pg_description d ON (tt.oid = d.objoidand tt.tableoid = d.classoidand d.objsubid = 0)\n");
552+
" JOIN pg_catalog.pg_description d ON (tt.oid = d.objoidAND tt.tableoid = d.classoidAND d.objsubid = 0)\n");
553553

554554
appendPQExpBuffer(&buf,"ORDER BY 1, 2, 3;");
555555

@@ -1028,7 +1028,7 @@ describeOneTableDetails(const char *schemaname,
10281028
"SELECT t.tgname, pg_catalog.pg_get_triggerdef(t.oid)\n"
10291029
"FROM pg_catalog.pg_trigger t\n"
10301030
"WHERE t.tgrelid = '%s' "
1031-
"and (not tgisconstraint "
1031+
"AND (not tgisconstraint "
10321032
" OR NOT EXISTS"
10331033
" (SELECT 1 FROM pg_catalog.pg_depend d "
10341034
" JOIN pg_catalog.pg_constraint c ON (d.refclassid = c.tableoid AND d.refobjid = c.oid) "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp