Re: pgsql: Remove the restriction that the relmap must be 512 bytes. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pgsql: Remove the restriction that the relmap must be 512 bytes.
Date
Msg-id 3058597.1658949456@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Remove the restriction that the relmap must be 512 bytes.  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: pgsql: Remove the restriction that the relmap must be 512 bytes.
List pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
>> Hmm, but that doesn't actually produce nice behavior. It just goes
>> into an infinite loop, like this:
>> So now I'm back to being unsure what to do here.

> I vote to go for the catversion bump for now.  

What this is showing us is that any form of corruption in the relmapper
file causes very unpleasant behavior.  We probably had better do something
about that, independently of this issue.

In the meantime, I still think bumping the file magic number is a better
answer.  It won't make the behavior any worse for un-updated code than
it is already.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Allow foreign keys to reference a superset of unique columns
Next
From: "David G. Johnston"
Date:
Subject: Official Windows Installer and Documentation