question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

support pg_dump for Postgres 13

See original GitHub issue

I’m using Hasura ver 1.3.2. When I call hasura migrate ..., I got an error.

cannot fetch schema dump: [unexpected] error while executing pg_dump: pg_dump: error: server version: 13rc1; pg_dump version: 12.2 (Debian 12.2-2.pgdg90+1)

I think Hasura currently only supports pg ver 12 & below.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

18reactions
RobSchilderrcommented, Jan 13, 2021

Same issue here still.

16reactions
donnerccommented, Oct 10, 2020

Same issue for me. I use the images hasura/graphql-engine:v1.3.2 and postgres:13

This comes from the fact that pg_dump in the 1.3.2 hasura image still is version 12.2. This should be corrected in the Hasura images. The hasura Team should update the Postgres client tools in their image to version 13.

$ docker exec -it backend_hasura_1 pg_dump --version
pg_dump (PostgreSQL) 12.2 (Debian 12.2-2.pgdg90+1)
Read more comments on GitHub >

github_iconTop Results From Across the Web

Documentation: 15: pg_dump - PostgreSQL
pg_dump is a utility for backing up a PostgreSQL database. It makes consistent backups even if the database is being used concurrently. pg_dump...
Read more >
PostgreSQL pg_dump & pg_restore Guide - SimpleBackups
Extensive guide about pg_dump and pg_restore commands, how to use them to back up and restore postgresql databases (pg_dump + pg_restore ...
Read more >
Postgresql 13 - Speed up pg_dump to 5 minutes instead of 70 ...
When we did a simple COPY from psql on this table to stdout , it was quite fast (1 or 2 minutes), but...
Read more >
pg_dump(1) — postgresql-client-13 — Debian testing
pg_dump is a utility for backing up a PostgreSQL database. It makes consistent backups even if the database is being used concurrently. pg_dump...
Read more >
PostgreSQL Backup - pg_dump & pg_dumpall
PostgreSQL comes with pg_dump and pg_dumpall tools that help you backup databases easily and effectively. For ones who want to see the command...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found