Commit fa744697 authored by Noah Misch's avatar Noah Misch

In pg_upgrade cross-version test, handle postfix operators.

Commit 1ed6b895 eliminated support for
them, so drop them from regression databases before upgrading.  This is
necessary but not sufficient for testing v13 -> v14 upgrades.

Discussion: https://postgr.es/m/449144.1600439950@sss.pgh.pa.us
parent 52202bb3
......@@ -177,7 +177,12 @@ if "$MAKE" -C "$oldsrc" installcheck-parallel; then
esac
fix_sql="$fix_sql
DROP FUNCTION IF EXISTS
public.oldstyle_length(integer, text); -- last in 9.6";
public.oldstyle_length(integer, text); -- last in 9.6
DROP OPERATOR IF EXISTS -- last in v13
public.#@# (pg_catalog.int8, NONE),
public.#%# (pg_catalog.int8, NONE),
public.!=- (pg_catalog.int8, NONE),
public.#@%# (pg_catalog.int8, NONE);"
psql -X -d regression -c "$fix_sql;" || psql_fix_sql_status=$?
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment