Re: [BUGS] pg_dump's results have quite different size

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: [BUGS] pg_dump's results have quite different size
Дата
Msg-id CAKFQuwa7ZVH1wje55m7H6okvtKMceuE=OiAfg1-gugxSEEFT2g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [BUGS] pg_dump's results have quite different size  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-bugs
On Fri, Dec 16, 2016 at 1:47 PM, Jeff Janes <jeff.janes@gmail.com> wrote:
The only thing we actually know with reasonable certainty is that his backup script is broken, and that this is bad. Randomly changing settings so that the brokenness is still there but just less obvious is more dangerous than helpful.


​Its been suggested before but pg_dump could be a bit more helpful if it dumped contents to a temporary location first and then, if the dump completes successfully, moves it to the user-specified location.  It would be a bit of a subtle error if the dump fails silently and the user doesn't notice that the timestamp of an already existing dump at the named location didn't change - but if the target location is already unoccupied then the absence of a file would be very obvious.

David J.

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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: [BUGS] pg_dump's results have quite different size
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: [BUGS] pg_dump's results have quite different size