Re: Add contrib/pg_logicalsnapinspect

From: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
To: Peter Smith <smithpb2250(at)gmail(dot)com>
Cc: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, Peter Eisentraut <peter(at)eisentraut(dot)org>, shveta malik <shveta(dot)malik(at)gmail(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Add contrib/pg_logicalsnapinspect
Date: 2024-10-09 08:07:24
Message-ID: ZwY5vBI+R8Ky7yM5@ip-10-97-1-34.eu-west-3.compute.internal
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Wed, Oct 09, 2024 at 11:41:44AM +1100, Peter Smith wrote:
> On Wed, Oct 9, 2024 at 3:25 AM Bertrand Drouvot
> <bertranddrouvot(dot)pg(at)gmail(dot)com> wrote:
> >
> > I don't get the point here. The examples just show another way to use the functions,
> > the ouput is more "anecdotal" than anything else.
> >
>
> How about doing this:
> SELECT ss.name, info.* FROM pg_ls_logicalsnapdir() AS ss,
> pg_get_logical_snapshot_info(ss.name) AS info;

Agree that it makes sense to add the snapshot file name, will add in v13, thanks!

Regards,

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2024-10-09 08:08:31 Remove deprecated -H option from oid2name
Previous Message Daniel Gustafsson 2024-10-09 07:52:14 Re: pgindent fails with perl 5.40