Re: TupleDescCopy doesn't clear atthasdef, attnotnull, attidentity - Mailing list pgsql-hackers

From Tom Lane
Subject Re: TupleDescCopy doesn't clear atthasdef, attnotnull, attidentity
Date
Msg-id 32747.1515022567@sss.pgh.pa.us
Whole thread Raw
In response to Re: TupleDescCopy doesn't clear atthasdef, attnotnull, attidentity  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-hackers
Thomas Munro <thomas.munro@enterprisedb.com> writes:
> If there is any system where sizeof(FormData_pg_attribute) !=
> (offsetof(FormData_pg_attribute,attcollation) + sizeof(Oid)), won't
> load_relcache_init_file() get upset?  Oh, I see it would just go to
> read_failed and then "do it the hard way".

Right, so we needn't include a catversion bump (or more likely,
a RELCACHE_INIT_FILEMAGIC change) in that patch.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: TupleDescCopy doesn't clear atthasdef, attnotnull, attidentity
Next
From: Stephen Frost
Date:
Subject: January CommitFest is underway!