Re: confusing results from pg_get_replication_slots()

From: Matheus Alcantara <matheusssilv97(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: confusing results from pg_get_replication_slots()
Date: 2026-01-02 20:48:15
Message-ID: 8dd8ef2e-b5a6-4498-b44d-ab6db966c06b@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 02/01/26 12:40, Robert Haas wrote:
> Here is a patch to make invalidated slots always report as "lost",
> which I propose to back-patch to all supported versions.
>

The patch looks correct to me. I'm just wondering if/how we could
create a test for this. It possible to create a regression test or a
TAP test? Or it's not worthwhile?

--
Matheus Alcantara
EDB: https://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2026-01-02 21:10:06 Re: confusing results from pg_get_replication_slots()
Previous Message Robert Haas 2026-01-02 20:46:13 Re: pgsql: Ignore PlaceHolderVars when looking up statistics