Postgres升级(从10.9升级到12.2)偶尔会失败
但是我们观察到,有时在“检查”步骤(fieldnames(typeof(myfunc(4)))
)升级失败
尽管“检查”步骤成功,但在“链接”(pg_upgrade --check
)步骤中其他时间却失败了。
带有以下日志
pg_upgrade --link
失败,输出如下
pg_upgrade --check
“检查所需库是否存在”失败
另一些时候[-----------------------------]
[Performing Consistency Checks]
[Checking cluster versions ok]
[Checking database user is the install user ok]
[Checking database connection settings ok]
[Checking for prepared transactions ok]
[Checking for reg* data types in user tables ok]
[Checking for contrib/isn with bigint-passing mismatch ok]
[Checking for tables WITH OIDS ok]
[Checking for invalid "sql_identifier" user columns ok]
[]
[*failure*]
[]
失败,输出以下
pg_upgrade --link
“检查所需库是否存在”失败
注意: