Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit fa74469

Browse files
committed
In pg_upgrade cross-version test, handle postfix operators.
Commit 1ed6b89 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
1 parent 52202bb commit fa74469

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/bin/pg_upgrade/test.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,12 @@ if "$MAKE" -C "$oldsrc" installcheck-parallel; then
177177
esac
178178
fix_sql="$fix_sql
179179
DROP FUNCTION IF EXISTS
180-
public.oldstyle_length(integer, text); -- last in 9.6";
180+
public.oldstyle_length(integer, text); -- last in 9.6
181+
DROP OPERATOR IF EXISTS -- last in v13
182+
public.#@# (pg_catalog.int8, NONE),
183+
public.#%# (pg_catalog.int8, NONE),
184+
public.!=- (pg_catalog.int8, NONE),
185+
public.#@%# (pg_catalog.int8, NONE);"
181186
psql -X -d regression -c "$fix_sql;" || psql_fix_sql_status=$?
182187
fi
183188

0 commit comments

Comments
 (0)