Re: Possible Bug regarding temp tables (sql or psql?)

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Possible Bug regarding temp tables (sql or psql?)
Дата
Msg-id GNELIHDDFBOCMGBFGEFOOEONCCAA.chriskl@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: Possible Bug regarding temp tables (sql or psql?)  (Mark Frazer <mark@somanetworks.com>)
Ответы Re: Possible Bug regarding temp tables (sql or psql?)
Список pgsql-sql
> Forgot to mention that adding
> DROP TABLE v_idx ;
> before the END WORK will fix things.  However, I was under the
> impression that
> temporary tables would go away after a transaction in which they
> were created
> was committed.

No - they go away at the end of a _connection_.  However, there is now a
patch floating around on -hackers that would add an ' ON COMMIT DROP;'
option to CREATE TEMP TABLE.

Chris





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

Предыдущее
От: Jie Liang
Дата:
Сообщение: postgres7.2.1 upgrading
Следующее
От: Rudi Starcevic
Дата:
Сообщение: Re: Selecting data from a table created in another database...