logical decoding/replication: new functions pg_ls_logicaldir and pg_ls_replslotdir - Mailing list pgsql-hackers

From Bharath Rupireddy
Subject logical decoding/replication: new functions pg_ls_logicaldir and pg_ls_replslotdir
Date
Msg-id CALj2ACWsfizZjMN6bzzdxOk1ADQQeSw8HhEjhmVXn_Pu+7VzLw@mail.gmail.com
Whole thread Raw
Responses Re: logical decoding/replication: new functions pg_ls_logicaldir and pg_ls_replslotdir  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
Hi,

At times, users want to know what are the files (snapshot and mapping
files) that are available under pg_logical directory and also the
spill files that are under pg_replslot directory and how much space
they occupy. This will help to better know the storage usage pattern
of these directories. Can we have two new functions pg_ls_logicaldir
and pg_ls_replslotdir on the similar lines of pg_ls_logdir,
pg_ls_logdir,pg_ls_tmpdir, pg_ls_archive_statusdir [1]?

[1] - https://www.postgresql.org/docs/devel/functions-admin.html

Regards,
Bharath Rupireddy.



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Added schema level support for publication.
Next
From: Greg Nancarrow
Date:
Subject: Re: Skipping logical replication transactions on subscriber side