pg_upgrade old cluster delete script

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема pg_upgrade old cluster delete script
Дата
Msg-id 20130214052952.GA10606@momjian.us
обсуждение исходный текст
Ответы Re: pg_upgrade old cluster delete script  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
You might remember this pg_upgrade bug report where the user complained
that user-defined tablespaces _inside_ the old cluster directory were
deleted by the old cluster delete script:

    http://www.postgresql.org/message-id/E1THPDm-00018c-KT@wrigleys.postgresql.org

and my reply that we don't want to fix this:

    http://www.postgresql.org/message-id/20121004191201.GA11759@momjian.us

However, creating a script that deletes data is never a good idea so I
have created the attached patch to avoid creating the script in these
cases, and issue a message to the user.

The test isn't perfect but it is probably close enough.  I don't think
it is worth unlinking a possibly matching filename in such cases.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

Вложения

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

Предыдущее
От: Vlad Arkhipov
Дата:
Сообщение: Re: Temporal features in PostgreSQL
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review]