pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Steele <david@pgmasters.net>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Version number for pg_control
Date: Fri, 15 Jul 2016 18:22:23 -0400
Message-ID: <16945.1468621343@sss.pgh.pa.us> (raw)
In-Reply-To: <110f893d-2eda-0c86-ca37-7f1d041be1d1@pgmasters.net>
References: <20160715214718.GA165879@alvherre.pgsql>
	<110f893d-2eda-0c86-ca37-7f1d041be1d1@pgmasters.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

David Steele <david@pgmasters.net> writes:
> +1 for changing it.  However, I don't think it's such a big deal since
> each version since 8.3 (at least) has had a unique catalog version.

> Maybe this would affect pg_controldata or other supporting utilities but
> the server itself should not be affected since it also checks the
> catalog version.

Right, that version number exists mostly for the benefit of pg_controldata
and allied utilities.  You would get a CRC failure in any case when trying
to go between inconsistent notions of what pg_control contains, but the
version number is supposed to help you figure out why that happened.
As things stand, though, it'd only mislead you.

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (8+ messages)  latest in thread

Message-ID: <16945.1468621343@sss.pgh.pa.us>
Permalink:  ../16945.1468621343@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16945.1468621343@sss.pgh.pa.us

 · 

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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, david@pgmasters.net, alvherre@2ndquadrant.com
  Subject: Re: Version number for pg_control
  In-Reply-To: <16945.1468621343@sss.pgh.pa.us>
  References: <20160715214718.GA165879@alvherre.pgsql> <110f893d-2eda-0c86-ca37-7f1d041be1d1@pgmasters.net> <16945.1468621343@sss.pgh.pa.us>

* 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