postgresql/src
Tom Lane 09878cdd48 Fix pg_upgrade to detect non-upgradable anyarray usages.
When we changed some built-in functions to use anycompatiblearray
instead of anyarray, we created a dump/restore hazard for user-defined
operators and aggregates relying on those functions: the user objects
have to be modified to change their signatures similarly.  This causes
pg_upgrade to fail partway through if the source installation contains
such objects.  We generally try to have pg_upgrade detect such hazards
and fail before it does anything exciting, so add logic to detect
this case too.

Back-patch to v14 where the change was made.

Justin Pryzby, reviewed by Andrey Borodin

Discussion: https://postgr.es/m/3383880.QJadu78ljV@vejsadalnx
2022-07-05 13:06:31 -04:00
..
backend Fix errors in copyfuncs/equalfuncs support for JSON node types. 2022-07-05 11:12:33 -04:00
bin Fix pg_upgrade to detect non-upgradable anyarray usages. 2022-07-05 13:06:31 -04:00
common Remove redundant null pointer checks before free() 2022-07-03 11:47:15 +02:00
fe_utils Remove redundant null pointer checks before PQclear and PQconninfoFree 2022-07-03 20:11:05 +02:00
include Add result_types column to pg_prepared_statements view 2022-07-05 07:23:32 +02:00
interfaces libpq: Improve idle state handling in pipeline mode 2022-07-05 14:21:20 +02:00
makefiles Refactor DLSUFFIX handling 2022-03-25 08:56:02 +01:00
pl PL/Python: Update guide to alternative expected files 2022-06-27 12:53:05 +02:00
port Remove redundant null pointer checks before free() 2022-07-03 11:47:15 +02:00
template Refactor DLSUFFIX handling 2022-03-25 08:56:02 +01:00
test libpq: Improve idle state handling in pipeline mode 2022-07-05 14:21:20 +02:00
timezone Update time zone data files to tzdata release 2022a. 2022-05-05 14:54:53 -04:00
tools Stamp HEAD as 16devel. 2022-06-30 11:26:40 -04:00
tutorial Update copyright for 2022 2022-01-07 19:04:57 -05:00
.gitignore
DEVELOPERS
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in Update Unicode data to CLDR 41 2022-04-06 08:17:33 +02:00
Makefile.shlib AIX: Fix missing libpq symbols by respecting SHLIB_EXPORTS. 2021-09-06 11:27:59 -07:00
nls-global.mk Improve frontend error logging style. 2022-04-08 14:55:14 -04:00