X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 08CBE528FA for ; Mon, 1 Aug 2005 05:42:23 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 50039-07 for ; Mon, 1 Aug 2005 08:42:13 +0000 (GMT) Received: from gauss.credativ.com (ipx11302.ipxserver.de [212.112.227.254]) by svr1.postgresql.org (Postfix) with ESMTP id 7469B52A76 for ; Mon, 1 Aug 2005 05:42:12 -0300 (ADT) Received: from bell.credativ.de (p50890D05.dip0.t-ipconnect.de [80.137.13.5]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by gauss.credativ.com (Postfix) with ESMTP id 30859D78A0; Mon, 1 Aug 2005 10:45:38 +0200 (CEST) From: Peter Eisentraut To: Tom Lane Subject: Re: bug in information_schema? Date: Mon, 1 Aug 2005 10:42:10 +0200 User-Agent: KMail/1.8.1 Cc: Kyle Bateman , pgsql-sql@postgresql.org References: <42EB0700.4040600@actarg.com> <26942.1122736512@sss.pgh.pa.us> In-Reply-To: <26942.1122736512@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508011042.10990.peter_e@gmx.net> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200508/2 X-Sequence-Number: 22230 Am Samstag, 30. Juli 2005 17:15 schrieb Tom Lane: > The unconstrained join against pg_user is clearly unnecessary, > and in fact I took it out a few days ago. I'm not sure whether the > SELECT DISTINCT is still needed --- it might be, if there can be > multiple pg_depend entries linking the same entities. That would have been my guess, but it seems that even if a column or table is used multiple times, a dependency is recorded only once, as it should be. It might have been related to the duplicate pg_user mention. -- Peter Eisentraut http://developer.postgresql.org/~petere/