-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
k/bugSomething isn't workingSomething isn't working
Description
Version Information
Server Version: v2.48.3
CLI Version (for CLI related issue): v2.46.0
Environment
Self Hosted
What is the current behaviour?
I am trying to create an initial migration from an existing Postgres 17 server. I'm running hasura migrate create "init" --from-server
and I get:
FATA[0003] cannot fetch schema dump: pg_dump request: 500
{
"error": "error while executing pg_dump",
"path": "$",
"code": "unexpected",
"internal": "pg_dump: error: aborting because of server version mismatch\npg_dump: detail: server version: 17.6; pg_dump version: 16.4 (Ubuntu 16.4-1.pgdg22.04+1)\n"
}
I have checked and it seems the pg_dump version in the image is out of date:
pg_dump --version
pg_dump (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg22.04+1)
What is the expected behaviour?
I want to be able to migrate a Postgres 17 DB.
How to reproduce the issue?
- Connect Hasura to a Postgres 17 server with some data.
- Run
hasura migrate create "init" --from-server
Keywords
pg_dump,postgres17
Metadata
Metadata
Assignees
Labels
k/bugSomething isn't workingSomething isn't working