Re: [HACKERS] logical decoding of two-phase transactions

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [HACKERS] logical decoding of two-phase transactions
Дата
Msg-id 20190204051504.GM29064@paquier.xyz
обсуждение исходный текст
Ответ на Re: [HACKERS] logical decoding of two-phase transactions  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: [HACKERS] logical decoding of two-phase transactions  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On Fri, Jan 25, 2019 at 02:03:27PM -0300, Alvaro Herrera wrote:
> Eyeballing 0001, it has a few problems.
>
> 1. It's under-parenthesizing the txn argument of the macros.
>
> 2. the "has"/"is" macro definitions don't return booleans -- see
> fce4609d5e5b.
>
> 3. the remainder of this no longer makes sense:
>
>     /* Do we know this is a subxact?  Xid of top-level txn if so */
> -   bool        is_known_as_subxact;
>     TransactionId toplevel_xid;
>
> I suggest to fix the comment, and also improve the comment next to the
> macro that tests this flag.
>
>
> (4. the macro names are ugly.)

This is an old thread, and the latest review is very recent.  So I am
moving the patch to next CF, waiting on author.
--
Michael

Вложения

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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: Undo logs
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: amcheck verification for GiST