Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1khKvV-00083g-Uf for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Nov 2020 23:07:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1khKvU-0006JT-UX for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Nov 2020 23:07:16 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1khKuy-000332-1U for pgsql-hackers@lists.postgresql.org; Mon, 23 Nov 2020 23:06:44 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1khKuv-00033O-Mz for pgsql-hackers@postgresql.org; Mon, 23 Nov 2020 23:06:42 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 0ANN6Jff198113; Mon, 23 Nov 2020 18:06:19 -0500 From: Tom Lane To: Stephen Frost cc: Justin Pryzby , Fabien COELHO , Alvaro Herrera , David Steele , pgsql-hackers@postgresql.org, "Bossart, Nathan" , Thomas Munro Subject: Re: pg_ls_tmpdir to show directories and shared filesets (and pg_ls_*) In-reply-to: <20201123230031.GR16415@tamriel.snowman.net> References: <20200503024215.GJ28974@telsasoft.com> <20200526021003.GW4472@telsasoft.com> <20200622015325.GG17995@telsasoft.com> <20200715030839.GX23581@telsasoft.com> <20200718201532.GV23581@telsasoft.com> <20200908195126.GB18552@telsasoft.com> <20201028193402.GA28528@telsasoft.com> <129225.1606166058@sss.pgh.pa.us> <20201123230031.GR16415@tamriel.snowman.net> Comments: In-reply-to Stephen Frost message dated "Mon, 23 Nov 2020 18:00:31 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <198111.1606172779.1@sss.pgh.pa.us> Date: Mon, 23 Nov 2020 18:06:19 -0500 Message-ID: <198112.1606172779@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Stephen Frost writes: > * Tom Lane (tgl@sss.pgh.pa.us) wrote: >> I took a quick look through this. This is just MHO, of course: >> >> * I don't think it's okay to change the existing signatures of >> pg_ls_logdir() et al. > I disagree that we need to stress over this- we pretty routinely change > the signature of various catalogs and functions and anyone using these > is already of the understanding that we are free to make such changes > between major versions. Well, like I said, just MHO. Anybody else want to weigh in? I'm mostly concerned about removing the isdir output of pg_stat_file(). Maybe we could compromise to the extent of keeping that, allowing it to be partially duplicative of a file-type-code output column. regards, tom lane