Re: Temporary schemas

Поиск
Список
Период
Сортировка
Искать
От
Merlin Moncure
Тема
Re: Temporary schemas
Дата
Msg-id
AANLkTimrqZaa5mCP1_m2weP_kFLToG3A+CjDoXYCY25f@mail.gmail.com
Ответ на
Temporary schemas (Thomas Kellerer)
Список
Дерево обсуждения
Temporary schemas Thomas Kellerer <spam_eater@gmx.net>
Re: Temporary schemas Thom Brown <thom@linux.com>
Re: Temporary schemas pamkiki <pam.kiki@gmail.com>
Re: Temporary schemas Thomas Kellerer <spam_eater@gmx.net>
Re: Temporary schemas Merlin Moncure <mmoncure@gmail.com>
Re: Temporary schemas Thomas Kellerer <spam_eater@gmx.net>
Re: Temporary schemas Merlin Moncure <mmoncure@gmail.com>
Re: Temporary schemas Rob Sargent <robjsargent@gmail.com>
Re: Temporary schemas Thomas Kellerer <spam_eater@gmx.net>
On Mon, Nov 1, 2010 at 6:46 AM, Thomas Kellerer  wrote:
> Hello,
>
> I have created a temporary table using
>
> create temporary table foo
> (
>  id integer
> );
>
> and noticed this was created in a schema called "pg_temp_2"
>
> My question is:
>
> is this always "pg_temp_2"?
> Or will the name of the "temp schema" change?
>
> If it isn't always the same, is there a way I can retrieve the schema name
> for temporary tables?

Curious why you'd want to do this -- temporary magic schemas are an
implementation artifact, and there shouldn't ever be a reason to
directly reference them.

merlin
В списке pgsql-general по дате отправления
От: Jonathan Tripathy
Дата:
Сообщение: Re: Replication
От: Kevin Field
Дата:
FAQ