From ae20518c7e46217159650274019440844a273b39 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 29 Jun 2003 10:18:26 +0000 Subject: [PATCH] It was comparing the wrong pair of columns, which triggered the previously mentioned bug. --- src/backend/catalog/information_schema.sql | 4 ++-- 1 file 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 );