Remove special outfuncs/readfuncs handling of RangeVar.catalogname.
commit3cece34be842178a3c5697a58e03fb4a5d576378
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 23 Jan 2023 18:33:19 +0000 (23 13:33 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 23 Jan 2023 18:33:19 +0000 (23 13:33 -0500)
treeffa0b73de31f1ee420a5e877b74f24184fa4a132
parenta9dc7f9419e4f6cac419e195618dceac74846c83
Remove special outfuncs/readfuncs handling of RangeVar.catalogname.

Historically we skipped writing/reading this field, but that no
longer works under WRITE_READ_PARSE_PLAN_TREES since we expanded
the coverage of that option to include utility commands (787102b56).
Remove the special case and just treat this field normally.

Bump catversion out of an abundance of caution --- I do not think
we currently ever store RangeVar nodes in the catalogs, but
perhaps I'm wrong.

Per report from Pavel Stehule.

Discussion: https://postgr.es/m/CAFj8pRAYvYu-qU7-NieqRRyaQZk-yr3UjtHQ2LR62PS9M1dZMA@mail.gmail.com
src/include/catalog/catversion.h
src/include/nodes/primnodes.h