Re: pg_ls_tmpdir to show directories and shared filesets (and pg_ls_*)

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: "Bossart, Nathan" <bossartn(at)amazon(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Stephen Frost <sfrost(at)snowman(dot)net>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, David Steele <david(at)pgmasters(dot)net>, pgsql-hackers(at)postgresql(dot)org, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>
Subject: Re: pg_ls_tmpdir to show directories and shared filesets (and pg_ls_*)
Date: 2022-03-09 16:50:45
Message-ID: 20220309165044.GB27651@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Rebased over 9e9858389 (Michael may want to look at the tuplestore part?).

Fixing a comment typo.

I also changed pg_ls_dir_recurse() to handle concurrent removal of a dir, which
I noticed caused an infrequent failure on CI. However I'm not including that
here, since the 2nd half of the patch set seems isn't ready due to lstat() on
windows.

Attachment Content-Type Size
v34-0001-Document-historic-behavior-of-links-to-directori.patch text/x-diff 1.1 KB
v34-0002-Add-tests-before-changing-pg_ls_.patch text/x-diff 3.4 KB
v34-0003-Add-pg_ls_dir_metadata-to-list-a-dir-with-file-m.patch text/x-diff 17.8 KB
v34-0004-pg_ls_tmpdir-to-show-directories-and-isdir-argum.patch text/x-diff 6.6 KB
v34-0005-pg_ls_-dir-to-show-directories-and-isdir-column.patch text/x-diff 13.2 KB
v34-0006-pg_ls_logdir-to-ignore-error-if-initial-top-dir-.patch text/x-diff 3.1 KB
v34-0007-pg_ls_-dir-to-return-all-the-metadata-from-pg_st.patch text/x-diff 21.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2022-03-09 16:51:40 Re: New developer papercut - Makefile references INSTALL
Previous Message Andres Freund 2022-03-09 16:44:20 Re: [RFC] building postgres with meson -v7