Re: Is WAL_DEBUG related code still relevant today?

Поиск
Список
Период
Сортировка
От Bharath Rupireddy
Тема Re: Is WAL_DEBUG related code still relevant today?
Дата
Msg-id CALj2ACW5zPMT09eqXvh2Ve7Kz02HShTwyjG+xTzkrzeKtQMnQQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Is WAL_DEBUG related code still relevant today?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, Dec 3, 2023 at 4:16 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Nathan Bossart <nathandbossart@gmail.com> writes:
> > On Sat, Dec 02, 2023 at 07:36:29PM +0530, Bharath Rupireddy wrote:
> >> I started to think if this code is needed at all in production. How
> >> about we do either of the following?
>
> > Well, the fact that this code is hidden behind an off-by-default macro
> > seems like a pretty strong indicator that it is not intended for
> > production.  But that doesn't mean we should remove it.
>
> Agreed, production is not the question here.  The question is whether
> it's of any use to developers either.  It looks to me that the code's
> been broken since v13, if not before, which very strongly suggests
> that nobody is using it.  Think I'd vote for nuking it rather than
> putting effort into fixing it.

How about something like the attached? Please see the commit message
for more detailed information.

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

Вложения

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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: Emitting JSON to file using COPY TO
Следующее
От: Bharath Rupireddy
Дата:
Сообщение: Re: Is WAL_DEBUG related code still relevant today?