Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 152D6475F36; Tue, 30 Apr 2002 14:28:05 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id B63D6475CFD; Tue, 30 Apr 2002 14:23:47 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g3UINkF21263; Tue, 30 Apr 2002 14:23:46 -0400 (EDT) To: Bill Cunningham Cc: pgsql-hackers@postgresql.org, pgsql-interfaces@postgresql.org Subject: Re: Schemas: status report, call for developers In-reply-to: <3CCED849.5040400@ballydev.com> References: <21020.1020187890@sss.pgh.pa.us> <3CCED849.5040400@ballydev.com> Comments: In-reply-to Bill Cunningham message dated "Tue, 30 Apr 2002 10:45:45 -0700" Date: Tue, 30 Apr 2002 14:23:45 -0400 Message-ID: <21260.1020191025@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200204/1528 X-Sequence-Number: 22192 Bill Cunningham writes: > I would think this should produce the following: > test=# \d mytab > Table "bar.mytab" > Column | Type | Modifiers > --------+---------+----------- > f1 | text | > f1 | integer | > Table "foo.mytab" > Column | Type | Modifiers > --------+---------+----------- > f2 | text | > f3 | integer | Even when schemas bar and foo are not in your search path? (And, perhaps, not even accessible to you?) My gut feeling is that "\d mytab" should tell you about the same table that "select * from mytab" would find. Anything else is probably noise to you --- if you wanted to know about foo.mytab, you could say "\d foo.mytab". However, \d is not a wildcardable operation AFAIR. For the commands that do take wildcard patterns (like \z), I'm not as sure what should happen. regards, tom lane