]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix omissions in support for the "regcollation" type.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Jul 2022 21:43:28 +0000 (17:43 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Jul 2022 21:43:28 +0000 (17:43 -0400)
commitbb30410b9f4cae1ec74f120833b74ecc0b1de7d2
tree4794aadcb5d4881b3ae4e7d972ca71fec9596a0a
parent810bcbd383ab615a24ea972db0e1157572f3a12c
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
src/backend/catalog/dependency.c
src/backend/utils/adt/selfuncs.c
src/backend/utils/cache/catcache.c