diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-10-26 02:53:45 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-10-26 02:53:45 +0000 |
commit | 8b3414d247a1e174966a954587938234679dbd34 (patch) | |
tree | bb3a6684a1e2a2ea734b751ac532e3711ef02894 | |
parent | ce26858facb2d757d810a3905b5f084f89026fce (diff) | |
download | postgresql-8b3414d247a1e174966a954587938234679dbd34.tar.gz postgresql-8b3414d247a1e174966a954587938234679dbd34.zip |
Uppercase a few keywords in queries.
-rw-r--r-- | src/bin/psql/describe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index 9db5dad3da6..7894ddecf44 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2003, PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.86 2003/10/17 00:57:04 tgl Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.87 2003/10/26 02:53:45 momjian Exp $ */ #include "postgres_fe.h" #include "describe.h" @@ -549,7 +549,7 @@ objectDescription(const char *pattern) appendPQExpBuffer(&buf, ") AS tt\n" - " JOIN pg_catalog.pg_description d ON (tt.oid = d.objoid and tt.tableoid = d.classoid and d.objsubid = 0)\n"); + " JOIN pg_catalog.pg_description d ON (tt.oid = d.objoid AND tt.tableoid = d.classoid AND d.objsubid = 0)\n"); appendPQExpBuffer(&buf, "ORDER BY 1, 2, 3;"); @@ -1028,7 +1028,7 @@ describeOneTableDetails(const char *schemaname, "SELECT t.tgname, pg_catalog.pg_get_triggerdef(t.oid)\n" "FROM pg_catalog.pg_trigger t\n" "WHERE t.tgrelid = '%s' " - "and (not tgisconstraint " + "AND (not tgisconstraint " " OR NOT EXISTS" " (SELECT 1 FROM pg_catalog.pg_depend d " " JOIN pg_catalog.pg_constraint c ON (d.refclassid = c.tableoid AND d.refobjid = c.oid) " |