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 2DBB853631 for ; Mon, 25 Apr 2005 01:53:54 -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 92853-01 for ; Mon, 25 Apr 2005 04:53:44 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id DE24C53558 for ; Mon, 25 Apr 2005 01:53:43 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j3P4rbNm010193; Mon, 25 Apr 2005 00:53:37 -0400 (EDT) To: Stephen Frost Cc: Alan Chandler , pgsql-sql@postgresql.org Subject: Re: Matching the MYSQL "Describe " command In-reply-to: <20050424185324.GD27470@ns.snowman.net> References: <200504241902.16770.alan@chandlerfamily.org.uk> <20050424185324.GD27470@ns.snowman.net> Comments: In-reply-to Stephen Frost message dated "Sun, 24 Apr 2005 14:53:25 -0400" Date: Mon, 25 Apr 2005 00:53:37 -0400 Message-ID: <10192.1114404817@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/372 X-Sequence-Number: 21265 Stephen Frost writes: > You might want to take a look at the schema called 'information_schema' > and see if you can find what you want there. The only problem I have > with that, currently anyway, is that it seems to only show things the > current user owns as opposted to what the current user has access to, > which seems a bit silly to me. The SQL99 spec defines some of the views as showing only what you own, and others as showing whatever you have access to. I think we track the spec, but feel free to point out discrepancies. regards, tom lane