Temporary tables and miscellaneous schemas

Поиск
Список
Период
Сортировка
От
Тема Temporary tables and miscellaneous schemas
Дата
Msg-id 64867.66.212.203.144.1065948536.squirrel@$HOSTNAME
обсуждение исходный текст
Ответы Re: Temporary tables and miscellaneous schemas
Список pgsql-general
Whenever I create a temporary table, with something like

CREATE TEMPORARY TABLE temptable1 AS SELECT * FROM paid.ad_hoc_query;

New schemas appear, with names like "pg_temp_1". I guess the appearance
of these schemas with "temp" in the name indicates that they are
"temporary" schemas and related to the temporary table creation, but the
schemas persist even after the end of the session in which the temporary
table was created.

What's up with these miscellaneous schemas? Are they in fact related to
the creation of temporary tables? Should they disappear when the session
closes, as should the temporary table? If they continue persisting after
the session closes, how do I get rid of them?

~Berend Tober




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

Предыдущее
От: Network Administrator
Дата:
Сообщение: Re: need for concrete info
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: Postgres 7.4 : ECPG not Thread-safe