temp tables not dropping at end of script

Поиск
Список
Период
Сортировка
От Davenport, Julie
Тема temp tables not dropping at end of script
Дата
Msg-id FC3C063A33946548BBC77657D3A2AF750F13646E@ctc385b.campus.ctcd.org
обсуждение исходный текст
Ответы Re: temp tables not dropping at end of script  (Rob Sargent <robjsargent@gmail.com>)
Re: temp tables not dropping at end of script  (Andrew Sullivan <ajs@crankycanuck.ca>)
Re: temp tables not dropping at end of script  ("Relyea, Mike" <Mike.Relyea@xerox.com>)
Re: temp tables not dropping at end of script  (jonathansfl <jonathanbrinkman@yahoo.com>)
Список pgsql-general

Since we upgraded from postgres 8.0 to 8.4, every script where we have queries that use temp tables now has to have an explicit drop of the temp table at the end of the script, or it will blow up the next time it runs, saying it cannot create the temp table because it already exists (these are coldfusion 8 scripts running queries on postgres 8.4 database).  When we get the error, if we try to drop the table at the command line, it says the table does not exist, yet we cannot rerun the script unless we stop and restart the database.  This never happened with pg 8.0, so the definition of “when a session ends” seems to have changed (isn’t a temp table supposed to automatically disappear at the end of the session)?  Is there some easier or better way to clear these temporary areas?

Thanks,

Julie

julie.davenport@ctcd.edu

 

 

 

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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Functions as first-class values
Следующее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: Why security-definer functions are executable by public by default?