postgresql/src
Michael Paquier f4f2f2b84a Update upgrade_adapt.sql to handle tables using aclitem as data type
The regression test suite includes a table called "tab_core_types" that
has one attribute based on the type "aclitem".  Keeping this attribute
as-is causes hard failures when running pg_upgrade with an origin on
~15.  This commit updates upgrade_adapt.sql to automatically detect the
tables with such attributes and switch them to text so as pg_upgrade
is able to go through its run.

This does not provide the same detection coverage as pg_upgrade, where
we are able to find out aclitems used in arrays, domains or even
composite types, but this is (I guess) enough for most things like an
instance that had installcheck run on before the upgrade with a dump
generated from it.

Note that the buildfarm code has taken the simplest approach of just
dropping "tab_core_types", so what we have here is more modular.

Author: Anton A. Melnikov
Discussion: https://postgr.es/m/49f389ba-95ce-8a9b-09ae-f60650c0e7c7@inbox.ru
2022-12-23 11:36:57 +09:00
..
backend Fix come incorrect elog() messages in aclchk.c 2022-12-23 10:04:18 +09:00
bin Update upgrade_adapt.sql to handle tables using aclitem as data type 2022-12-23 11:36:57 +09:00
common Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
fe_utils Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
include Rename pg_dissect_walfile_name() to pg_split_walfile_name() 2022-12-23 09:15:01 +09:00
interfaces Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
makefiles Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
pl Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
port Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
template Move darwin sysroot determination into separate file 2022-09-01 16:54:19 -07:00
test Rename pg_dissect_walfile_name() to pg_split_walfile_name() 2022-12-23 09:15:01 +09:00
timezone Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
tools Create infrastructure for "soft" error reporting. 2022-12-09 09:58:38 -05:00
tutorial Doc: sync src/tutorial/basics.source with SGML documentation. 2022-11-19 13:09:14 -05:00
.gitignore
DEVELOPERS
Makefile
Makefile.global.in autoconf: Move export_dynamic determination to configure 2022-12-06 18:55:28 -08:00
Makefile.shlib autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
meson.build Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
nls-global.mk Fix for make unportability 2022-07-13 09:15:01 +02:00