Function for listing pg_wal/summaries directory

From: btogiwarayuushi <btogiwarayuushi(at)oss(dot)nttdata(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Function for listing pg_wal/summaries directory
Date: 2024-10-04 02:32:08
Message-ID: a0a3af15a9b9daa107739eb45aa9a9bc@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

While WAL summaries feature and some support functions have been added
in version 17, merely listing the contents of the pg_wal/summaries
directory is missing. As discussed in the pg_ls_archive_status()
discussion, it would be convenient to add pg_ls_summariesdir() that
lists the contents of the pg_wal/summaries directory with the pg_monitor
role.

This patch is based on a very recent master and does not include the
catversion bump.

Best,
Yushi

Attachment Content-Type Size
ls_summariesdir.diff text/x-diff 4.9 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2024-10-04 02:33:04 Re: Should rolpassword be toastable?
Previous Message Jonathan S. Katz 2024-10-04 02:17:31 Re: Should rolpassword be toastable?