Re: [PATCH] Add hint to wal_level errors for replication slots and pg_log_standby_snapshot

From: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
To: Joao Rito <joaovictor(dot)rito(at)gmail(dot)com>
Cc: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, Zhijie Hou <houzhijie22(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] Add hint to wal_level errors for replication slots and pg_log_standby_snapshot
Date: 2026-11-23 23:47:01
Message-ID: CAD21AoAGyyKY_7qCJnu208KJ-dpHZ3pPw89qsCLAAtqXSe58ug@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Nov 18, 2026 at 7:27 PM Joao Rito <joaovictor(dot)rito(at)gmail(dot)com> wrote:
>
> Hi Chao, Zhijie,
>
> Thank you both for the feedback.
>
> Zhijie, that is a fair point. The primary messages already state the required setting and value, so the hint repeats it.

I agree with Hou’s point: the proposed hint message just repeats what
the primary message already says. It would make sense to mention
wal_level in the hint if the primary message mentioned
effective_wal_level alone , but that’s not the case here either.

Regards,

--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2026-11-23 23:47:24 Re: [PATCH] pgcrypto: Fix sha-crypt rounds= values that do not fit in int (BUG #19743)
Previous Message David Rowley 2026-11-23 23:44:08 Make pg_strtok() a bit faster