gpt4 book ai didi

pg_restore: error: unsupported version (1.15) in file header(PG_RESTORE:错误:文件头中的版本(1.15)不受支持)

转载 作者:bug小助手 更新时间:2023-10-25 21:18:33 118 4
gpt4 key购买 nike



I am trying to restore my backup that is in .backup format to vercel but i keep getting this error

我正在尝试将.Backup格式的备份恢复到Vercel,但一直收到此错误


pg_restore: error: unsupported version (1.15) in file header

PG_RESTORE:错误:文件头中的版本(1.15)不受支持


pg_dump --version
pg_dump (PostgreSQL) 15.4 (Ubuntu 15.4-1.pgdg22.04+1)


psql --version
psql (PostgreSQL) 15.4 (Ubuntu 15.4-1.pgdg22.04+1)


According pgAdmin
vercel is also runing this version of postgress

据pgAdmin Vercel称,Vercel也在运行这个版本的Postress


PostgreSQL 15.4 on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit


i installed latest version of postgress but it is not working

我安装了最新版本的Postress,但它不能工作


更多回答
优秀答案推荐

Archive version 1.15 was introduced in PostgreSQL v16 to support different compression algorithms. The dump was taken with PostgreSQL v16, so you can only restore it with v16 or better.

存档版本1.15是在PostgreSQL v16中引入的,以支持不同的压缩算法。转储是使用PostgreSQL v16获取的,因此您只能使用v16或更高版本恢复它。


更多回答

118 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com