Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eV6zp-00085s-43 for pgsql-general@arkaria.postgresql.org; Sat, 30 Dec 2017 02:35:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eV6zo-0006w7-Nt for pgsql-general@arkaria.postgresql.org; Sat, 30 Dec 2017 02:35:36 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eV6zo-0006vv-C9 for pgsql-general@lists.postgresql.org; Sat, 30 Dec 2017 02:35:36 +0000 Received: from mail.wordtothewise.com ([2001:470:1:6d::9a]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eV6zk-0003DU-2i for pgsql-general@lists.postgresql.org; Sat, 30 Dec 2017 02:35:35 +0000 Received: from satsuke.wordtothewise.com (204.11.227.194.static.etheric.net [204.11.227.194]) by mail.wordtothewise.com (Postfix) with ESMTPSA id 7B95123379 for ; Fri, 29 Dec 2017 18:36:13 -0800 (PST) From: Steve Atkins Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Does PostgreSQL check database integrity at startup? Date: Fri, 29 Dec 2017 18:35:30 -0800 References: <20171227213314.GY4628@tamriel.snowman.net> <20171227215204.nucxo7b2ssmyznip@alvherre.pgsql> <20171228121651.GZ4628@tamriel.snowman.net> <42cda197-fead-a7e5-a7e2-750d98bc4eb2@simkorp.com.br> <743808611.5608368.1514484408822@mail.yahoo.com> <20171228182636.GG4628@tamriel.snowman.net> <48a4bcfa-6b85-81ca-9b59-9e47af8fa5af@simkorp.com.br> <20171230011315.GC2416@tamriel.snowman.net> <20171230020706.GD2416@tamriel.snowman.net> To: pgsql-general@lists.postgresql.org In-Reply-To: Message-Id: <062CF016-3872-4C0D-BD0B-D7E22A81992B@blighty.com> X-Mailer: Apple Mail (2.3273) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Dec 29, 2017, at 6:14 PM, Melvin Davidson = wrote: >=20 > Edson's original request was for a query that shows the FILENAMEs for = the table. Which the query you provide does not do. > As for "qood" query, that is entirely an opinion. But a well informed one. Your query may work well enough for you, but = when you're suggesting others rely on it you should expect more informed users to = point out that it has some critical flaws - especially ones that might not be = obvious to new users - lest others naively rely on it. > The query WILL show all files associated > with ALL tables.=20 No, it won't. You're filtering out a bunch of things via the name of the = table. That doesn't do the right thing. You're heading in the right direction, but = the query you gave gets some things badly wrong. Listen to the criticism from others and you'll improve your knowledge = and skills. There's absolutely nothing wrong with posting information that's not = quite right, nor with getting feedback from others on what's wrong with it. Copping = an attitude in response to that feedback is where things go downhill. Cheers, Steve=