Re: Fix reversed slot types in copy_replication_slot() error messages

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Subject: Re: Fix reversed slot types in copy_replication_slot() error messages
Date: 2026-12-02 08:03:10
Message-ID: aw_Qvme2JjyK1dk-@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Dec 02, 2026 at 03:52:36PM +0800, Chao Li wrote:
> The fix is straightforward. The attached patch swaps the two
> errmsg() calls and updates the expected output. This was an
> oversight in 9f06d79e, so it may be worth back-patching to v15.

Yeah, a backpatch is in place as it could lead to some incorrect
information reported.. Will fix. Thanks for the report!
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jakub Wartak 2026-12-02 08:20:34 Re: Small WAL replay perf improvements (smgropen()+reduce membarriers for LSN waiters)
Previous Message Michael Paquier 2026-12-02 08:01:21 Re: [PATCH v2] Reuse slot helpers in pg_get_replication_slots and slot copy