From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>, Sean Chittenden <sean(at)chittenden(dot)org>, btober(at)seaworthysys(dot)com |
Subject: | Re: [GENERAL] Temporary tables and miscellaneous schemas |
Date: | 2003-12-21 04:37:10 |
Message-ID: | 19845.1071981430@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> This patch uses current_schemas('true') to display only the schemas in
> the current search path and implicit schemas.
The more I look at this, the sillier it looks. It converts \dn into
an expensive substitute for "select current_schemas(true)". In
practical situations this will mean that \dn shows hardly anything of
interest.
I think the original complaint was misguided and we should not do
anything about it. IIRC the complaint amounted to "I have hundreds of
schemas and it annoys me that \dn shows them all". How is this
different from putting hundreds of tables into one schema and then being
annoyed because \dt shows them all? We have other mechanisms available
for making \dn selective (ie, you can use a name pattern). If \dn is
restricted to showing only schemas in your search path, it will become
useless.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-12-21 04:40:59 | Re: [GENERAL] Temporary tables and miscellaneous schemas |
Previous Message | Christopher Browne | 2003-12-21 04:30:57 | Re: [pgsql-advocacy] PostgreSQL speakers needed for OSCON 2004 |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-12-21 04:40:59 | Re: [GENERAL] Temporary tables and miscellaneous schemas |
Previous Message | Bruce Momjian | 2003-12-21 04:37:06 | Re: [COMMITTERS] pgsql-server/ oc/src/sgml/datatype.sgml rc/bac ... |