Re: pg_restore error

Laurenz Albe <laurenz.albe@cybertec.at>

From: Laurenz Albe <laurenz.albe@cybertec.at>
To: "Subramanian,Ramachandran" <ramachandran.subramanian@alte-leipziger.de>, "pgsql-novice@lists.postgresql.org" <pgsql-novice@lists.postgresql.org>
Date: 2026-05-18T23:38:18Z
Lists: pgsql-novice
On Mon, 2026-05-18 at 11:57 +0000, Subramanian,Ramachandran wrote:
> Then I used pg_restore and got this error message.
>  
> pg_restore -c -v -f Restore.out Cameleon_ewt_20260512.sql
>  
> pg_restore: error: unsupported version (1.16) in file header
>  
> I am running postgres 16.13 . 

Archive version 1.16 was introduced in PostgreSQL v17, so you need
to use at least that version to restore the dump.

Yours,
Laurenz Albe