diff options
Diffstat (limited to 'src/backend/utils/adt/genfile.c')
-rw-r--r-- | src/backend/utils/adt/genfile.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/backend/utils/adt/genfile.c b/src/backend/utils/adt/genfile.c index 24b95c32b78..91d0bb46309 100644 --- a/src/backend/utils/adt/genfile.c +++ b/src/backend/utils/adt/genfile.c @@ -690,6 +690,15 @@ pg_ls_archive_statusdir(PG_FUNCTION_ARGS) } /* + * Function to return the list of files in the WAL summaries directory. + */ +Datum +pg_ls_summariesdir(PG_FUNCTION_ARGS) +{ + return pg_ls_dir_files(fcinfo, XLOGDIR "/summaries", true); +} + +/* * Function to return the list of files in the PG_LOGICAL_SNAPSHOTS_DIR * directory. */ |