我有一个postgresql 9.3实例,想要升级到postgresql 10。我有一个命令,认为应该可以工作,但它包括checksums。我的旧实例没有启用checksums(是否能够实现?太久以前忘记了),这阻止了我的试运行正确工作。
错误消息
Performing Consistency Checks on Old Live Server
------------------------------------------------
Checking cluster versions ok
old cluster does not use data checksums but the new one does
Failure, exiting
我的命令被剥离了真实路径
time ${PGBINNEW}/pg_upgrade --old-bindir=${PGBINOLD} --new-bindir=${PGBINNEW} --old-datadir=${PGDATAOLD} --new-datadir=${PGDATANEW} --old-port=${PGPORT} --new-port=${PGPORT} --jobs=$(nproc | awk '{ {print ($1 > 4) ? 4 : ($1 == 1 ? 1 : $1 - 1)} }') --link --username=postgres --check
我该怎么做才能解决这个问题?