Re: [GENERAL] Temporary tables and miscellaneous schemas
| От | Bruce Momjian |
|---|---|
| Тема | Re: [GENERAL] Temporary tables and miscellaneous schemas |
| Дата | |
| Msg-id | 200312210451.hBL4pO423330@candle.pha.pa.us обсуждение исходный текст |
| Ответ на | Re: [GENERAL] Temporary tables and miscellaneous schemas (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: [GENERAL] Temporary tables and miscellaneous schemas
|
| Список | pgsql-patches |
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Agreed showing just search path and implicit schemas is pretty dumb. I
> > think the issue was that every backend with a temp table was showing up,
> > pretty much swamping the actual schemas he is using.
>
> Oh, okay. I would not object to suppressing pg_temp_NNN schemas from
> the \dn display. That isn't what this patch does, however.
OK. I read the TODO and it says only:
* Have psql \dn show only visible schemas using current_schemas()
so that's what I did, but I think now I have to add a test so only
non-visible temp schemas are suppressed, and I think we have good logic
for doing this because they really didn't create those schemas themselves ---
the schemas are just an artifact of how we implement temp tables.
Having one is fine, but having tons that obscure user-created schemas is
probably bad.
I will do that and repost.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-patches по дате отправления: