Re: Problem with logical replication

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Problem with logical replication
Дата
Msg-id 20200515054745.GA79590@paquier.xyz
обсуждение исходный текст
Ответ на Re: Problem with logical replication  (Euler Taveira <euler.taveira@2ndquadrant.com>)
Ответы Re: Problem with logical replication  (Euler Taveira <euler.taveira@2ndquadrant.com>)
Список pgsql-hackers
On Tue, May 12, 2020 at 09:45:45PM -0300, Euler Taveira wrote:
>> In any case, it seems to me that the comment of
>> build_replindex_scan_key needs to be updated.
>>
>>  * This is not generic routine, it expects the idxrel to be replication
>>  * identity of a rel and meet all limitations associated with that.
>
> It is implicit that a primary key can be a replica identity so I think this
> comment is fine.

Agreed.  I don't think either that we need to update this comment.  I
was playing with this patch and what you have here looks fine by me.
Two nits: the extra parenthesis in the assert are not necessary, and
the indentation had some diffs.  Tom has just reindented the whole
tree, so let's keep things clean.
--
Michael

Вложения

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

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: COPY, lock release and MVCC
Следующее
От: Michael Paquier
Дата:
Сообщение: pg_bsd_indent and -Wimplicit-fallthrough