Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jAhBM-0003P4-B5 for pgsql-hackers@arkaria.postgresql.org; Sat, 07 Mar 2020 21:40:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jAhBK-000623-UW for pgsql-hackers@arkaria.postgresql.org; Sat, 07 Mar 2020 21:40:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jAhBK-00061g-FF for pgsql-hackers@lists.postgresql.org; Sat, 07 Mar 2020 21:40:26 +0000 Received: from mail-yw1-xc41.google.com ([2607:f8b0:4864:20::c41]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jAhBB-0001fk-Kw for pgsql-hackers@postgresql.org; Sat, 07 Mar 2020 21:40:25 +0000 Received: by mail-yw1-xc41.google.com with SMTP id x5so5153816ywb.13 for ; Sat, 07 Mar 2020 13:40:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=tC+/HgMYu/wykMAf/pPJV9fqVxAYT5LLnN/rUvSDTo0=; b=aF/HPUc8Znk4ia3oszg8P+4f9RvvLKiY6pO+Wc3+/lMrEZ70xEIIfUArop4ffPt61A 6mG9+j/nanC2aNr6KENhSmgofuY/yby6zZVFBM7+V1E+a5DkNTEsd0eGA7soMgOfLI7f oWhGBvk8hOH07Odf59NMFoKV/b/H079eE76C+OD1YEJir6yHqQv6qdGGexkSTF1gVh9R MCb0c0arTQ2s/0uIj3SLbAaG1+UrtTZO6WDXXjz7ese7khmr2CbYzuXoShruQtKGnMgx YRW93Y9XFHCOwJs2nJIpbQzVk8+U/IDr2nVPYB13G5cYWhDR5s7A0nM3lyXh+/0grQhr 5IhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=tC+/HgMYu/wykMAf/pPJV9fqVxAYT5LLnN/rUvSDTo0=; b=ZwiKpv8Ja4BbXj4xLj9bflLiBbBJBSYgIXOv6HsPVkO6uLUxomce6idHd1A4BAjRy/ q/kjEFj31POSss4chnd2fd5snkl/6owcQOAvfO4oLJzY2nV3EzbUPCo3r6/bkecymXTy yrNvwSi2yeA2wC5XNANn8H5BEYqtw6iVEFcbyJ/4N0gJcFvyraGyGqnFDRHsoGrw0dZF kkvkAz89+8jgdvLRATsZ6yUB2DIQVUqvzfiOHQ1ujU3d3Qa2+bd8GjfX3oC3JgGE0VvI J4xLCU9+LTRgvPmGSZG2BEjGvw54x6bbIBoaKLjh08OMJMFSTp2O0k/NHKUAzz997CMM 1cgA== X-Gm-Message-State: ANhLgQ0LD45R//xJZkDC7jVu5ieuD9iLMS+ICt2vKEjxklF8w/DgaNPt mYrDGTebFF+4Di/xzDgFkz5M6g== X-Google-Smtp-Source: ADFU+vvIbTcz0VQ09HgpP8vQm1qN0Q+yDu5sFbhOInP7KERIhWP9elPXtxkTMDXItMqNlVY+A7p+5w== X-Received: by 2002:a81:6954:: with SMTP id e81mr10051263ywc.65.1583617214286; Sat, 07 Mar 2020 13:40:14 -0800 (PST) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id w79sm7005563ywd.10.2020.03.07.13.40.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Mar 2020 13:40:13 -0800 (PST) Received: by pryzbyj (Postfix, from userid 1000) id BB4B2800C28; Sat, 7 Mar 2020 15:40:10 -0600 (CST) Date: Sat, 7 Mar 2020 15:40:10 -0600 From: Justin Pryzby To: Fabien COELHO Cc: 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_*) Message-ID: <20200307214010.GB1357@telsasoft.com> References: <20200303200117.GI684@telsasoft.com> <20200303202313.GA28076@alvherre.pgsql> <20200305161838.GJ684@telsasoft.com> <20200306233507.GN684@telsasoft.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Mar 07, 2020 at 03:14:37PM +0100, Fabien COELHO wrote: > The documentation sentences could probably be improved "for for", "used ... > used". Maybe: > ISTM that several instances of: "pg_ls_dir_files(..., true, false);" should > be "pg_ls_dir_files(..., true, DIR_HIDE);". > Alas, ISTM that there are no tests on any of these functions:-( Addressed these. And reordered the last two commits to demonstrate and exercize the behavior change in regress test. -- Justin --k1lZvvs/B4yU6o8G Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="v8-0001-BUG-in-errmsg.patch"