Re: Reviewing temp_tablespaces GUC patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Reviewing temp_tablespaces GUC patch
Дата
Msg-id 27879.1180055498@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Reviewing temp_tablespaces GUC patch  ("Jaime Casanova" <systemguards@gmail.com>)
Ответы Re: Reviewing temp_tablespaces GUC patch  ("Jaime Casanova" <systemguards@gmail.com>)
Список pgsql-hackers
"Jaime Casanova" <systemguards@gmail.com> writes:
> On 5/24/07, Alvaro Herrera <alvherre@commandprompt.com> wrote:
>> What happens if you create a cursor that stores something (sort
>> intermediate results?) in a temp tablespace, FETCH some from it, then
>> someone else drops the tablespace and FETCH some more?

> you can't drop a tablespace that is not empty.

So a temp file left over by a crashed backend would indefinitely prevent
dropping the tablespace, until someone manually cleaned it up?
        regards, tom lane


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

Предыдущее
От: "Jaime Casanova"
Дата:
Сообщение: Re: Reviewing temp_tablespaces GUC patch
Следующее
От: Tom Lane
Дата:
Сообщение: Re: like/ilike improvements