Re: pg_ls_tmpdir()
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: "Bossart, Nathan" <bossartn@amazon.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2018-10-01T15:45:07Z
Lists: 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
Commits
-
Add pg_ls_tmpdir function
- 9cd92d1a3369 12.0 landed