"Jaime Casanova" <systemguards(at)gmail(dot)com> writes:
> On 5/24/07, Alvaro Herrera <alvherre(at)commandprompt(dot)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