Re: pg_ls_tmpdir() - Mailing list pgsql-hackers

From Andres Freund
Subject Re: pg_ls_tmpdir()
Date
Msg-id 20181001154507.6msg6qlbefxg2kpx@alap3.anarazel.de
Whole thread Raw
In response to Re: pg_ls_tmpdir()  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: pg_ls_tmpdir()  ("Bossart, Nathan" <bossartn@amazon.com>)
List pgsql-hackers
Hi,

On 2018-09-26 22:36:03 +0200, Laurenz Albe wrote:
> 2. There already are functions "pg_ls_logdir" and "pg_ls_waldir",
>    and I can imagine new requests, e.g. pg_ls_datafiles() to list the
>    data files in a database directory.
> 
>    It may make sense to have a generic function like
> 
>       pg_ls_dir(dirname text, tablespace oid)
> 
>    instead.  But maybe that's taking it too far...

There's a generic pg_ls_dir() already - I'm now sure why a generic
function would take the tablespace oid however?

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: pg_ls_tmpdir(); AND, Function for listing archive_statusdirectory
Next
From: Justin Pryzby
Date:
Subject: Re: buildfarm and git pull