Re: Add primary keys to system catalogs

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Add primary keys to system catalogs
Date: 2021-02-02 10:37:14
Message-ID: 24c75543-8638-5fb5-9f13-0dc06e137e10@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2021-02-01 15:24, Tom Lane wrote:
> Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> writes:
>> On 2021-01-30 22:56, Tom Lane wrote:
>>> Hmm, shouldn't there have been a catversion bump in there?
>
>> I suppose yes on the grounds that it introduces something new in a
>> freshly initdb-ed database. But I thought it wasn't necessary because
>> there is no dependency between the binaries and the on-disk state.
>
> I've generally worked on the theory that a catversion bump is indicated
> if you need to initdb in order to pass the updated regression tests.
> Which one did in this case.

Yeah, that's a good way of looking at it. I'll keep that in mind.

--
Peter Eisentraut
2ndQuadrant, an EDB company
https://www.2ndquadrant.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2021-02-02 10:49:32 Re: Add primary keys to system catalogs
Previous Message Peter Eisentraut 2021-02-02 10:35:49 Improve new hash partition bound check error messages