Skip to content

Postgres 17 not supported by GraphQL engine V2? #10775

@aidan-aisy

Description

@aidan-aisy

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?

  1. Connect Hasura to a Postgres 17 server with some data.
  2. Run hasura migrate create "init" --from-server

Keywords

pg_dump,postgres17

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