Re: correct the sizes of values and nulls arrays in pg_control_checkpoint

Поиск
Список
Период
Сортировка
От Bharath Rupireddy
Тема Re: correct the sizes of values and nulls arrays in pg_control_checkpoint
Дата
Msg-id CALj2ACXrDr5EN0uABDPSb0af8JOn1WQG8CBXX0GFRc4eBEuXEQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: correct the sizes of values and nulls arrays in pg_control_checkpoint  ("Euler Taveira" <euler@eulerto.com>)
Ответы Re: correct the sizes of values and nulls arrays in pg_control_checkpoint  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Re: correct the sizes of values and nulls arrays in pg_control_checkpoint  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Thu, Dec 23, 2021 at 9:13 PM Euler Taveira <euler@eulerto.com> wrote:
>
> On Thu, Dec 23, 2021, at 8:39 AM, Bharath Rupireddy wrote:
>
> pg_control_checkpoint emits 18 columns whereas the values and nulls
> arrays are defined to be of size 19. Although it's not critical,
> attaching a tiny patch to fix this.
>
> Good catch! I'm wondering if a constant wouldn't be useful for such case.

Thanks. I thought of having a macro, but it creates a lot of diff with
the previous versions as we have to change for other pg_control_XXX
functions.

Regards,
Bharath Rupireddy.



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

Предыдущее
От: "Euler Taveira"
Дата:
Сообщение: Re: correct the sizes of values and nulls arrays in pg_control_checkpoint
Следующее
От: "Euler Taveira"
Дата:
Сообщение: Re: Delay the variable initialization in get_rel_sync_entry