Re: pg_combinebackup fails on file named INCREMENTAL.*

Поиск
Список
Период
Сортировка
Искать
От
David Steele
Тема
Re: pg_combinebackup fails on file named INCREMENTAL.*
Дата
Msg-id
5a7817da-6349-4653-8056-470300b6e512@pgmasters.net
Ответ на
Список
Дерево обсуждения
[MASSMAIL]pg_combinebackup fails on file named INCREMENTAL.* David Steele <david@pgmasters.net>
Re: pg_combinebackup fails on file named INCREMENTAL.* Robert Haas <robertmhaas@gmail.com>
Re: pg_combinebackup fails on file named INCREMENTAL.* David Steele <david@pgmasters.net>
Re: pg_combinebackup fails on file named INCREMENTAL.* Robert Haas <robertmhaas@gmail.com>
Re: pg_combinebackup fails on file named INCREMENTAL.* Robert Haas <robertmhaas@gmail.com>
Re: pg_combinebackup fails on file named INCREMENTAL.* David Steele <david@pgmasters.net>
Re: pg_combinebackup fails on file named INCREMENTAL.* Robert Haas <robertmhaas@gmail.com>
Re: pg_combinebackup fails on file named INCREMENTAL.* David Steele <david@pgmasters.net>
Re: pg_combinebackup fails on file named INCREMENTAL.* Stefan Fercot <stefan.fercot@protonmail.com>
Re: pg_combinebackup fails on file named INCREMENTAL.* Robert Haas <robertmhaas@gmail.com>
Re: pg_combinebackup fails on file named INCREMENTAL.* Stefan Fercot <stefan.fercot@protonmail.com>
Re: pg_combinebackup fails on file named INCREMENTAL.* Robert Haas <robertmhaas@gmail.com>
On 4/18/24 00:14, Robert Haas wrote:
> On Tue, Apr 16, 2024 at 9:25 AM Robert Haas  wrote:
>> On Mon, Apr 15, 2024 at 10:12 PM David Steele  wrote:
>>> Anyway, I think it should be fixed or documented as a caveat since it
>>> causes a hard failure on restore.
>>
>> Alright, I'll look into this.
> 
> Here's a patch.

Thanks! I've tested this and it works as advertised.

Ideally I'd want an error on backup if there is a similar file in any 
data directories that would cause an error on combine, but I admit that 
it is vanishingly rare for users to put files anywhere but the root of 
PGDATA, so this approach seems OK to me.

Regards,
-David


В списке pgsql-hackers по дате отправления
От: David Steele
Дата:
От: Thomas Munro
Дата:
FAQ