Re: Add lookup table for replication slot invalidation causes

Поиск
Список
Период
Сортировка
От Bharath Rupireddy
Тема Re: Add lookup table for replication slot invalidation causes
Дата
Msg-id CALj2ACU4Q45rGvbAndxYVEdbtCK0psmo0XMAAH2W8o2H1=D=1A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add lookup table for replication slot invalidation causes  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Thu, Feb 22, 2024 at 12:26 PM Michael Paquier <michael@paquier.xyz> wrote:
>
> On Thu, Feb 22, 2024 at 05:30:08PM +1100, Peter Smith wrote:
> > Oops. Perhaps I meant more like below -- in any case, the point was
> > the same -- to ensure RS_INVAL_NONE is what returns if something
> > unexpected happens.
>
> You are right that this could be a bit confusing, even if we should
> never reach this state.  How about avoiding to return the index of the
> loop as result, as of the attached?  Would you find that cleaner?

Looks neat!

--
Bharath Rupireddy
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com



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

Предыдущее
От: "Fujii.Yuki@df.MitsubishiElectric.co.jp"
Дата:
Сообщение: Re: Partial aggregates pushdown
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Speeding up COPY TO for uuids and arrays