pgsql: Fix omission of locations in outfuncs/readfuncs partitioning nod

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix omission of locations in outfuncs/readfuncs partitioning nod
Date: 2017-05-30 15:32:47
Message-ID: E1dFj8Z-00042A-P0@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix omission of locations in outfuncs/readfuncs partitioning node support.

We could have limped along without this for v10, which was my intention
when I annotated the bug in commit 76a3df6e5. But consensus is that it's
better to fix it now and take the cost of a post-beta1 initdb (which is
needed because these node types are stored in pg_class.relpartbound).

Since we're forcing initdb anyway, take the opportunity to make the node
type identification strings match the node struct names, instead of being
randomly different from them.

Discussion: https://postgr.es/m/E1dFBEX-0004wt-8t@gemulon.postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/80f583ffe930b21d6e5c47be4342356e57851a9a

Modified Files
--------------
src/backend/nodes/outfuncs.c | 10 +++++-----
src/backend/nodes/readfuncs.c | 10 ++++------
src/include/catalog/catversion.h | 2 +-
3 files changed, 10 insertions(+), 12 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2017-05-30 15:50:42 pgsql: doc: Fix ALTER PUBLICATION details
Previous Message Tom Lane 2017-05-30 13:41:57 Re: [COMMITTERS] Re: pgsql: Code review focused on new node types added by partitioning supp