Re: Don't choke on files that are removed while pg_rewind runs.

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: Don't choke on files that are removed while pg_rewind runs.
Дата
Msg-id A82A60E9-DF11-4A7D-8742-E99CD917AD87@yesql.se
обсуждение исходный текст
Ответ на Re: Don't choke on files that are removed while pg_rewind runs.  (Justin Pryzby <pryzby@telsasoft.com>)
Ответы Re: Don't choke on files that are removed while pg_rewind runs.
Список pgsql-hackers
> On 13 Jul 2020, at 08:10, Justin Pryzby <pryzby@telsasoft.com> wrote:

> Every other access to "res" in this loop is to res(i), which I believe is what
> was intended here, too.  Currently, it will dumbly loop but skip *every* row if
> the 2nd column (1: size) of the first row (0) is null.

Yeah, I agree with that, seems like the call should've been PQgetisnull(res, i, 1);
to match the loop.

cheers ./daniel


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