Heikki Linnakangas <[EMAIL PROTECTED]> writes:
> The best I can think of is to rename the obsolete file to
> <relfilenode>.stale, when it's scheduled for deletion at next
> checkpoint, and check for .stale-suffixed files in GetNewRelFileNode,
> and delete them immediately in DropTableSpace.

This is getting too Rube Goldbergian for my tastes.  What if we just
make DROP TABLESPACE force a checkpoint before proceeding?

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to