Re: pgsql: Remove special outfuncs/readfuncs handling of RangeVar.catalogna

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Remove special outfuncs/readfuncs handling of RangeVar.catalogna
Date: 2023-01-23 19:32:53
Message-ID: CAFj8pRApOyP=_sJE+k+zk7LfBesEaOS1t6sw3ddkX1=Uzk9xeQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

po 23. 1. 2023 v 19:33 odesílatel Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> napsal:

> 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.
>

It helps

Thank you

Pavel

>
> Discussion:
> https://postgr.es/m/CAFj8pRAYvYu-qU7-NieqRRyaQZk-yr3UjtHQ2LR62PS9M1dZMA@mail.gmail.com
>
> Branch
> ------
> master
>
> Details
> -------
>
> https://git.postgresql.org/pg/commitdiff/3cece34be842178a3c5697a58e03fb4a5d576378
>
> Modified Files
> --------------
> src/include/catalog/catversion.h | 2 +-
> src/include/nodes/primnodes.h | 7 ++-----
> 2 files changed, 3 insertions(+), 6 deletions(-)
>
>

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2023-01-23 21:08:59 pgsql: Fix XLogPageRead() comment
Previous Message Dean Rasheed 2023-01-23 19:22:53 pgsql: Add non-decimal integer support to type numeric.