Re: Why copy_relation_data only use wal whenWALarchivingis enabled

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Why copy_relation_data only use wal whenWALarchivingis enabled
Дата
Msg-id 22479.1192715543@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Why copy_relation_data only use wal whenWALarchivingis enabled  (Heikki Linnakangas <heikki@enterprisedb.com>)
Ответы Re: Why copy_relation_data only use wal whenWALarchivingis enabled  (Heikki Linnakangas <heikki@enterprisedb.com>)
Список pgsql-hackers
Heikki Linnakangas <heikki@enterprisedb.com> 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


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ts_rewrite aggregate API seems mighty ugly
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Proposal: generate_iterator functions