Re: Replication identifiers, take 4

Поиск
Список
Период
Сортировка
От Petr Jelinek
Тема Re: Replication identifiers, take 4
Дата
Msg-id 55413BAC.1000901@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Replication identifiers, take 4  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
On 29/04/15 22:12, David Rowley wrote:
> On 25 April 2015 at 00:32, Andres Freund <andres@anarazel.de
> <mailto:andres@anarazel.de>> wrote:
>
>
>     Attached is a patch that does this, and some more, renaming. That was
>     more work than I'd imagined.  I've also made the internal naming in
>     origin.c more consistent/simpler and did a bunch of other cleanup.
>
>
> Hi,
>
> It looks like bowerbird is not too happy with this, neither is my build
> environment.
>
> http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=bowerbird&dt=2015-04-29%2019%3A31%3A06
>
> The attached seems to fix it.
> I put the include in the origin.h rather than in the origin.c as the
> DoNotReplicateId macro uses UINT16_MAX and is also used in xact.c.
>

I think correct fix is using PG_UINT16_MAX.


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



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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Replication identifiers, take 4
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Custom/Foreign-Join-APIs (Re: [v9.5] Custom Plan API)