| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: List schema contents |
| Date: | 2006-06-09 21:08:40 |
| Message-ID: | 24834.1149887320@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-www |
"Jim C. Nasby" <jnasby(at)pervasive(dot)com> writes:
> On Fri, Jun 09, 2006 at 04:55:07PM -0400, Tom Lane wrote:
>> I'd be the first to agree that the behavior of \d isn't particularly
>> orthogonal, but it's not the pattern language that's the problem, it's
>> the command itself.
> Perhaps \d without an argument should just do whatever \dtsv does?
That's exactly what it does ... without an argument. The
non-orthogonality is that adding an argument changes the printout style,
instead of just determining which objects are displayed. See the psql
man page:
Note: If \d is used without a pattern argument, it is
equivalent to \dtvs which will show a list of all
tables, views, and sequences. This is purely a convenience measure.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Martijn van Oosterhout | 2006-06-09 21:34:03 | Re: That EXPLAIN ANALYZE patch still needs work |
| Previous Message | Jim C. Nasby | 2006-06-09 21:00:01 | Re: List schema contents |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Marc G. Fournier | 2006-06-10 05:20:05 | Re: archive threads across months (was Re: [HACKERS] |
| Previous Message | Jim C. Nasby | 2006-06-09 21:00:01 | Re: List schema contents |