Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfa74469

Browse files
committed
In pg_upgrade cross-version test, handle postfix operators.
Commit1ed6b89 eliminated support forthem, so drop them from regression databases before upgrading. This isnecessary but not sufficient for testing v13 -> v14 upgrades.Discussion:https://postgr.es/m/449144.1600439950@sss.pgh.pa.us
1 parent52202bb commitfa74469

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)

[8]ページ先頭

©2009-2025 Movatter.jp