Implement type regcollation

Enterprise / PostgreSQL - Peter Eisentraut [eisentraut.org] - 18 March 2020 20:21 UTC

This will be helpful for a following commit and it's also just generally useful, like the other reg* types.

Author: Julien Rouhaud

a2b1faa0f2 Implement type regcollation
doc/src/sgml/datatype.sgml | 10 +++
doc/src/sgml/func.sgml | 13 ++-
doc/src/sgml/ref/pgupgrade.sgml | 1 +
src/backend/utils/adt/regproc.c | 152 ++++++++++++++++++++++++++++++++++
src/bin/pg_upgrade/check.c | 1 +
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_cast.dat | 14 ++++
src/include/catalog/pg_proc.dat | 15 ++++
src/include/catalog/pg_type.dat | 4 +
src/test/regress/expected/regproc.out | 40 +++++++++
src/test/regress/sql/regproc.sql | 7 ++
11 files changed, 256 insertions(+), 3 deletions(-)

Upstream: git.postgresql.org


  • Share