Re: XLog size reductions: Reduced XLog record header size for PG17

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: XLog size reductions: Reduced XLog record header size for PG17
Дата
Msg-id ZRNufiVAa1nmIDk3@paquier.xyz
обсуждение исходный текст
Ответ на Re: XLog size reductions: Reduced XLog record header size for PG17  (Matthias van de Meent <boekewurm+postgres@gmail.com>)
Ответы Re: XLog size reductions: Reduced XLog record header size for PG17  (Pavel Borisov <pashkin.elfe@gmail.com>)
Список pgsql-hackers
On Mon, Sep 25, 2023 at 07:40:00PM +0200, Matthias van de Meent wrote:
> On Wed, 20 Sept 2023 at 07:06, Michael Paquier <michael@paquier.xyz> wrote:
>>  #define COPY_HEADER_FIELD(_dst, _size)            \
>>      do {                                        \
>> -        if (remaining < _size)                    \
>> +        if (remaining < (_size))                \
>>              goto shortdata_err;                    \
>>
>> There are a couple of stylistic changes like this one, that I guess
>> could just use their own patch to make these macros easier to use.
>
> They actually fix complaints of my IDE, but are otherwise indeed stylistic.

Oh, OK.  I just use an old-school terminal, but no objections in
changing these if they make life easier for some hackers.  Still, that
feels independant of what you are proposing here.
--
Michael

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Correct the documentation for work_mem
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Could not run generate_unaccent_rules.py script when update unicode