pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steve Atkins <steve@blighty.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Does PostgreSQL check database integrity at startup?
Date: Fri, 29 Dec 2017 18:35:30 -0800
Message-ID: <062CF016-3872-4C0D-BD0B-D7E22A81992B@blighty.com> (raw)
In-Reply-To: <CANu8FizkQcod6277BV-0ON7OdXdK95dNhR=68-0V9jG-mNz_wA@mail.gmail.com>
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>
	<CAGBW59fasv0KxRg6YTfQM7+zzmJ6jnwBvDGEiNi0aJH9HyqCzA@mail.gmail.com>
	<48a4bcfa-6b85-81ca-9b59-9e47af8fa5af@simkorp.com.br>
	<20171230011315.GC2416@tamriel.snowman.net>
	<CANu8Fiwv9WFAWdhiTKYTjd7W7tUum7yDn=k-eVwo3E1G+m8WPA@mail.gmail.com>
	<20171230020706.GD2416@tamriel.snowman.net>
	<CANu8FizkQcod6277BV-0ON7OdXdK95dNhR=68-0V9jG-mNz_wA@mail.gmail.com>


> On Dec 29, 2017, at 6:14 PM, Melvin Davidson <melvin6925@gmail.com> wrote:
> 
> 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. 

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



view thread (51+ messages)  latest in thread

Message-ID: <062CF016-3872-4C0D-BD0B-D7E22A81992B@blighty.com>
Permalink:  ../062CF016-3872-4C0D-BD0B-D7E22A81992B@blighty.com/
Also on:    postgresql.org/message-id/062CF016-3872-4C0D-BD0B-D7E22A81992B@blighty.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: steve@blighty.com
  Subject: Re: Does PostgreSQL check database integrity at startup?
  In-Reply-To: <062CF016-3872-4C0D-BD0B-D7E22A81992B@blighty.com>
  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> <CAGBW59fasv0KxRg6YTfQM7+zzmJ6jnwBvDGEiNi0aJH9HyqCzA@mail.gmail.com> <48a4bcfa-6b85-81ca-9b59-9e47af8fa5af@simkorp.com.br> <20171230011315.GC2416@tamriel.snowman.net> <CANu8Fiwv9WFAWdhiTKYTjd7W7tUum7yDn=k-eVwo3E1G+m8WPA@mail.gmail.com> <20171230020706.GD2416@tamriel.snowman.net> <CANu8FizkQcod6277BV-0ON7OdXdK95dNhR=68-0V9jG-mNz_wA@mail.gmail.com> <062CF016-3872-4C0D-BD0B-D7E22A81992B@blighty.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox