Re: pg_rewind copies

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: pg_rewind copies
Дата
Msg-id 57D49E3F-38DB-42B4-A76F-9A6B99F16958@yesql.se
обсуждение исходный текст
Ответ на Re: pg_rewind copies  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
> On 1 Apr 2022, at 12:46, Heikki Linnakangas <hlinnaka@iki.fi> wrote:

>> +    if (len >= sizeof(dstpath))
>> +        pg_fatal("filepath buffer too small");    /* shouldn't happen */
>
> Makes sense. I would remove the "shouldn't happen"; it's not very hard to make it happen, you just need a very long
targetdatadir path. And rephrase the error message as "datadir path too long". 

Right, good point.

> One typo in the commit message: s/update/updates/.

Will fix.

--
Daniel Gustafsson        https://vmware.com/




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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: pg_rewind copies
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Rewriting the test of pg_upgrade as a TAP test - take three - remastered set