Re: DROP TABLESPACE causes panic during recovery - Mailing list pgsql-hackers

From Greg Stark
Subject Re: DROP TABLESPACE causes panic during recovery
Date
Msg-id 87wu0ei6gh.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: DROP TABLESPACE causes panic during recovery  (Gavin Sherry <swm@linuxworld.com.au>)
List pgsql-hackers
Gavin Sherry <swm@linuxworld.com.au> writes:

> >     CREATE TABLESPACE
> >     ...
> >     much time passes
> >     ...
> >     CHECKPOINT
> >     ...
> >     modify tables in tablespace
> >     drop tables in tablespace
> >     DROP TABLESPACE
> >     ...
> >     system crash

What happens here if no table spaces are involved?

It just creates bogus tables with partial data counting on the restore to see
the drop table command later and delete the corrupt tables?

Does that pose any danger with PITR? The scenario above seems ok since if the
PITR starting point is after the drop table/tablespace then presumably the
recovery target has to be after that as well? Is there any other scenario
where the partial data files could escape the recovery process?

-- 
greg



pgsql-hackers by date:

Previous
From: "Andrew Dunstan"
Date:
Subject: Re: DROP TABLESPACE causes panic during recovery
Next
From: Bruce Momjian
Date:
Subject: Re: DROP TABLESPACE causes panic during recovery