pgsql: Fix omissions in support for the "regcollation" type.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix omissions in support for the "regcollation" type.
Date: 2022-07-17 21:43:46
Message-ID: E1oDC3G-000hGy-3w@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix omissions in support for the "regcollation" type.

The patch that added regcollation doesn't seem to have been too
thorough about supporting it everywhere that other reg* types
are supported. Fix that. (The find_expr_references omission
is moderately serious, since it could result in missing expression
dependencies. The others are less exciting.)

Noted while fixing bug #17483. Back-patch to v13 where
regcollation was added.

Discussion: https://postgr.es/m/1423433.1652722406@sss.pgh.pa.us

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/36ccca3dbac3663b5487cd5966b345009b182629

Modified Files
--------------
src/backend/catalog/dependency.c | 7 +++++++
src/backend/utils/adt/selfuncs.c | 2 ++
src/backend/utils/cache/catcache.c | 1 +
3 files changed, 10 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-07-17 22:11:51 pgsql: postgres_fdw: be more wary about shippability of reg* constants.
Previous Message Tom Lane 2022-07-17 21:28:22 pgsql: postgres_fdw: set search_path to 'pg_catalog' while deparsing co