Re: Reviewing temp_tablespaces GUC patch - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Reviewing temp_tablespaces GUC patch
Date
Msg-id 27879.1180055498@sss.pgh.pa.us
Whole thread Raw
In response to Re: Reviewing temp_tablespaces GUC patch  ("Jaime Casanova" <systemguards@gmail.com>)
Responses Re: Reviewing temp_tablespaces GUC patch  ("Jaime Casanova" <systemguards@gmail.com>)
List 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 by date:

Previous
From: "Jaime Casanova"
Date:
Subject: Re: Reviewing temp_tablespaces GUC patch
Next
From: Tom Lane
Date:
Subject: Re: like/ilike improvements