Re: Proposal: Generic WAL logical messages

Поиск
Список
Период
Сортировка
От Petr Jelinek
Тема Re: Proposal: Generic WAL logical messages
Дата
Msg-id 56E0B896.3050007@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Proposal: Generic WAL logical messages  (Artur Zakirov <a.zakirov@postgrespro.ru>)
Ответы Re: Proposal: Generic WAL logical messages  (David Steele <david@pgmasters.net>)
Re: Proposal: Generic WAL logical messages  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Список pgsql-hackers
On 08/03/16 21:21, Artur Zakirov wrote:
> I think here
>
>> +const char *
>> +logicalmsg_identify(uint8 info)
>> +{
>> +    if (info & ~XLR_INFO_MASK == XLOG_LOGICAL_MESSAGE)
>> +        return "MESSAGE";
>> +
>> +    return NULL;
>> +}
>
> we should use brackets
>
> const char *
> logicalmsg_identify(uint8 info)
> {
>      if ((info & ~XLR_INFO_MASK) == XLOG_LOGICAL_MESSAGE)
>          return "MESSAGE";
>
>      return NULL;
> }
>

Correct, fixed, thanks.

I also rebased this as there was conflict after the fixes to logical
decoding by Andres.


--
   Petr Jelinek                  http://www.2ndQuadrant.com/
   PostgreSQL Development, 24x7 Support, Training & Services

Вложения

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

Предыдущее
От: Haribabu Kommi
Дата:
Сообщение: Re: [HACKERS] Re: [HACKERS] Re: [HACKERS] Windows service is not starting so there’s message in log: FATAL: "could not create shared memory segment “Global/PostgreSQL.851401618”: Permission denied”
Следующее
От: Petr Jelinek
Дата:
Сообщение: Re: Reworks of CustomScan serialization/deserialization