Content-Length: 268505 | pFad | http://github.com/postgrespro/postgres/commit/fa744697c79189a661f802d9a979d959b4454df0

E9 In pg_upgrade cross-version test, handle postfix operators. · postgrespro/postgres@fa74469 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/fa744697c79189a661f802d9a979d959b4454df0

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy