-
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: 2.48.6
CLI Version (for CLI related issue): 2.48.0
Environment
OSS
What is the current behaviour?
Running hasura migrate create "init" --from-server will have:
FATA[0004] 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: 18.0 (Debian 18.0-1.pgdg13+3); pg_dump version: 17.6 (Ubuntu 17.6-2.pgdg22.04+1)\n"
}
What is the expected behaviour?
pg_dump works properly in hasura cli
How to reproduce the issue?
- Connect Hasura with a Postgres 18 database
- Run
hasura migratewith--from-server
Screenshots or Screencast
Please provide any traces or logs that could help here.
Any possible solutions/workarounds you're aware of?
Upgrade pg_dump for postgres 18
Keywords
Metadata
Metadata
Assignees
Labels
k/bugSomething isn't workingSomething isn't working