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

Lines changed: 6 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy