aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2003-06-29 10:18:26 +0000
committerPeter Eisentraut <peter_e@gmx.net>2003-06-29 10:18:26 +0000
commitae20518c7e46217159650274019440844a273b39 (patch)
treeba67914da35e109b3a7e0aa1c3bf230205631484 /src
parent823bd7d1298077560296d847572be6ab98f81122 (diff)
downloadpostgresql-ae20518c7e46217159650274019440844a273b39.tar.gz
postgresql-ae20518c7e46217159650274019440844a273b39.zip
It was comparing the wrong pair of columns, which triggered the previously
mentioned bug.
Diffstat (limited to 'src')
-rw-r--r--src/backend/catalog/information_schema.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/catalog/information_schema.sql b/src/backend/catalog/information_schema.sql
index 31f91aa3667..cc73d5da014 100644
--- a/src/backend/catalog/information_schema.sql
+++ b/src/backend/catalog/information_schema.sql
@@ -4,7 +4,7 @@
*
* Copyright 2003, PostgreSQL Global Development Group
*
- * $Id: information_schema.sql,v 1.10 2003/06/28 20:50:08 petere Exp $
+ * $Id: information_schema.sql,v 1.11 2003/06/29 10:18:26 petere Exp $
*/
/*
@@ -1496,7 +1496,7 @@ CREATE VIEW element_types AS
AND at.typelem = bt.oid
AND nbt.oid = bt.typnamespace
- AND (x.objschema, x.objname, x.objtype, x.objtypeid) IN
+ AND (n.nspname, x.objname, x.objtype, x.objtypeid) IN
( SELECT object_schema, object_name, object_type, dtd_identifier
FROM data_type_privileges );