Re: Add primary keys to system catalogs

Peter Eisentraut <peter.eisentraut@2ndquadrant.com>

From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2021-02-02T10:37:14Z
Lists: pgsql-hackers
On 2021-02-01 15:24, Tom Lane wrote:
> Peter Eisentraut <peter.eisentraut@2ndquadrant.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/



Commits

  1. Add primary keys and unique constraints to system catalogs