Re: [GENERAL] Temporary tables and miscellaneous schemas

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [GENERAL] Temporary tables and miscellaneous schemas
Дата
Msg-id 200312210526.hBL5QlZ06213@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] Temporary tables and miscellaneous schemas  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Also, how do we know something is a temp schema?  Just the prefix
> > pg_temp_*?
>
> Yeah.  Remember that all schemas named pg_XXX are reserved for system
> use.  For the moment, testing for pg_temp_XXX is a bulletproof test,
> and we can certainly adapt psql's test if we ever add schemas that might
> conflict.
>
> Looking at the present output of \dn, I wonder whether we should not
> suppress the pg_toast schema as well.  That could be done (at the
> moment) by bouncing all schemas 'pg_t*' ...

Yea, probably.  I think the "implementation artifact" logic is a good
approach.  If someone wants to get into implementation details, they
should query pg_namespace.

--
  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 по дате отправления:

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