Commit f0b57aec authored by Bruce Momjian's avatar Bruce Momjian

pg_upgrade: improve instructions for fixing incompatible isn use

This clarifies instructions on how to dump/reload databases that use
incompatible isn versions.

Reported-by: Alvaro Herrera

Discussion: https://postgr.es/m/20191114190652.GA23586@alvherre.pgsqlReviewed-by: default avatarDaniel Gustafsson <daniel@yesql.se>

Backpatch-through: 13
parent f6f59826
...@@ -887,9 +887,9 @@ check_for_isn_and_int8_passing_mismatch(ClusterInfo *cluster) ...@@ -887,9 +887,9 @@ check_for_isn_and_int8_passing_mismatch(ClusterInfo *cluster)
pg_fatal("Your installation contains \"contrib/isn\" functions which rely on the\n" pg_fatal("Your installation contains \"contrib/isn\" functions which rely on the\n"
"bigint data type. Your old and new clusters pass bigint values\n" "bigint data type. Your old and new clusters pass bigint values\n"
"differently so this cluster cannot currently be upgraded. You can\n" "differently so this cluster cannot currently be upgraded. You can\n"
"manually upgrade databases that use \"contrib/isn\" facilities and remove\n" "manually dump databases in the old cluster that use \"contrib/isn\"\n"
"\"contrib/isn\" from the old cluster and restart the upgrade. A list of\n" "facilities, drop them, perform the upgrade, and then restore them. A\n"
"the problem functions is in the file:\n" "list of the problem functions is in the file:\n"
" %s\n\n", output_path); " %s\n\n", output_path);
} }
else else
......
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