More fixups for pg_upgrade cross-version tests.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 30 Dec 2020 19:15:41 +0000 (14:15 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 30 Dec 2020 19:15:48 +0000 (14:15 -0500)
Commit 7ca37fb04 removed regress_putenv from the regress.so library,
so reloading a SQL function dependent on that would not work.
Fix similarly to 52202bb39.

Per buildfarm.

src/bin/pg_upgrade/test.sh

index 8b13ec8692d041df6958baa4a5850c29631dae51..47c96df5c303c8dcfe9dfe2234f582effe4fd97c 100644 (file)
@@ -178,6 +178,8 @@ if "$MAKE" -C "$oldsrc" installcheck-parallel; then
        fix_sql="$fix_sql
                 DROP FUNCTION IF EXISTS
                    public.oldstyle_length(integer, text);  -- last in 9.6
+                DROP FUNCTION IF EXISTS
+                   public.putenv(text);    -- last in v13
                 DROP OPERATOR IF EXISTS    -- last in v13
                    public.#@# (pg_catalog.int8, NONE),
                    public.#%# (pg_catalog.int8, NONE),