这是indexloc提供的服务,不要输入任何密码
Skip to content

pg_dump version upgrade needed #10790

@p-null

Description

@p-null

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?

  1. Connect Hasura with a Postgres 18 database
  2. Run hasura migrate with --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

No one assigned

    Labels

    k/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions