Re: temp tables not dropping at end of script

Поиск
Список
Период
Сортировка
От jonathansfl
Тема Re: temp tables not dropping at end of script
Дата
Msg-id 1307979163586-4484759.post@n5.nabble.com
обсуждение исходный текст
Ответ на temp tables not dropping at end of script  ("Davenport, Julie" <JDavenport@ctcd.edu>)
Список pgsql-general
we're having a similar situation, where FunctionA calls FunctionB inside a
cursor. FunctionB DROPs Temp table, then creates temp table. FunctionA runs
through the cursor fine but breaks after the last loop, unable to DROP
temporary table "because it is being used by active queries in this
session."

Those sessions should have been closed after each loop!

Here is my ticket on this:

http://postgresql.1045698.n5.nabble.com/Can-t-drop-temp-table-in-subfunction-during-cursor-loop-being-used-by-active-queries-td4482806.html#a4484134

Here is another similar (and unanswered) ticket:
http://forums.enterprisedb.com/posts/list/849.page


--
View this message in context:
http://postgresql.1045698.n5.nabble.com/temp-tables-not-dropping-at-end-of-script-tp4286391p4484759.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Re: Can't drop temp table in subfunction during cursor loop (being used by active queries)
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Bad link to beta2 source