Fix omission of locations in outfuncs/readfuncs partitioning node support.
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/nodes/outfuncs.c | modified | +5 −5 |
| src/backend/nodes/readfuncs.c | modified | +4 −6 |
| src/include/catalog/catversion.h | modified | +1 −1 |
Discussion
- pgsql: Code review focused on new node types added by partitioning supp 8 messages · 2017-05-29 → 2017-05-30