]> granicus.if.org Git - postgresql/commitdiff
It was comparing the wrong pair of columns, which triggered the previously
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 29 Jun 2003 10:18:26 +0000 (10:18 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Sun, 29 Jun 2003 10:18:26 +0000 (10:18 +0000)
mentioned bug.

src/backend/catalog/information_schema.sql

index 31f91aa3667c14334e15e6c05b893c08de41296c..cc73d5da01442e29ebe1c57e8ba452304184adc0 100644 (file)
@@ -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 );