Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Shawnt21
Contributor III
Contributor III

PG_restore

I Keep getting a schema  'public' already exists error when I try to import the db, tried to drop the db and recreate, but no luck

Labels (1)
1 Solution

Accepted Solutions
Benoit_C
Support
Support

Hello,

 

This error is most probably due to a mix of version, you need to import the db with the same postgres version than the one used for the export.

 

Regards,

Benoit

View solution in original post

3 Replies
Benoit_C
Support
Support

Hello @Shawnt21,

 

The export of the DB has been done with what version of Postgres ?

And the Import is done with what version of Postgres ?

 

Regards,

Benoit

Benoit_C
Support
Support

Hello,

 

This error is most probably due to a mix of version, you need to import the db with the same postgres version than the one used for the export.

 

Regards,

Benoit

LTIAT951
Partner - Contributor
Partner - Contributor

Hi Team, I encounter the similar issue, while exporting the QSR from August 2022 version and restoring to Feb 2024 Version. 

PostgreSQL version during export was 9.6 and wanted to import in POSTGRESQL 14 version. 

 

Any workaround for this issue?