Re: [GENERAL] Temporary tables and miscellaneous schemas

Поиск
Список
Период
Сортировка
От Sean Chittenden
Тема Re: [GENERAL] Temporary tables and miscellaneous schemas
Дата
Msg-id 20031221060011.GA93411@perrin.nxad.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Temporary tables and miscellaneous schemas  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [GENERAL] Temporary tables and miscellaneous schemas
Список pgsql-patches
> > so that's what I did, but I think now I have to add a test so only
> > non-visible temp schemas are suppressed,
>
> You are complicating something that could be simple.  Why not just
> suppress schemas named 'pg_temp_XXX', period?

Because that's what I originally did and you shot it down as a bad
patch because you thought it wasn't in PostgreSQL's interest to filter
what we showed the user.

"What have you got against pg_temp?  If we think \dn shouldn't show those
schemas, shouldn't it suppress *all* system schemas, including
pg_catalog and pg_toast?  Maybe information_schema as well?"

I'm glad to see you've come around on this given temp structures show
up regardless of the temp schema (which is, as you point out, an
implementation detail that users need not concern themselves with).

Patch/thread:
http://archives.postgresql.org/pgsql-general/2003-10/msg00613.php

-sc

--
Sean Chittenden

В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] Temporary tables and miscellaneous schemas
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] Temporary tables and miscellaneous schemas