Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not upgrade pgAdmin 18.12 (max) / CI PG restore is not match with current PG admin pg_restore version #526

Open
ponceta opened this issue Jan 10, 2025 · 3 comments
Assignees
Labels
CI/CD continuous integration/deployment pgAdmin sustainability

Comments

@ponceta
Copy link
Member

ponceta commented Jan 10, 2025

Describe the bug
Try to restore a .backup file with pgAdmin 8.14, but fails with transaction_timeout failure :
pgadmin-org/pgadmin4#8171
Probably due to the last upgrade :
#523

To Reproduce
Exact steps to reproduce the behavior:

  1. Go to a Pull request
  2. Download datamodel dumps
  3. Try restore .backup
  4. See error

Expected behavior
Dumps are restored succesfully.

Screenshots / data
If applicable, add screenshots or data to help explain your problem.

Desktop (please complete the following information):

  • TWW version
  • QGIS Version
  • OS

Additional context
Add any other context about the problem here.

@ponceta ponceta added the CI/CD continuous integration/deployment label Jan 10, 2025
@ponceta ponceta self-assigned this Jan 10, 2025
@sjib
Copy link
Contributor

sjib commented Jan 10, 2025

Maybe due to latest pgadmin? I had to go back a version so that the restore version was fitting postgres version.

@ponceta
Copy link
Member Author

ponceta commented Jan 13, 2025

Similar to pgadmin-org/pgadmin4#7114

We have to stick with pgAdmin 8.12 which includes pg_dump / restore librairies in 16.4
https://github.com/pgadmin-org/pgadmin4/blob/master/docs/en_US/release_notes_8_12.rst#bundled-postgresql-utilities

pgAdmin 8.13+ include pg_dump / pg_restore librairies in v.17
https://github.com/pgadmin-org/pgadmin4/blob/master/docs/en_US/release_notes_8_13.rst#bundled-postgresql-utilities

If you go further in versions, you could copy and define 16.4 pg_dump / pg_restore libraries with the pgAdmin preferences section pgadmin-org/pgadmin4#7114 (comment)

@ponceta ponceta changed the title CI PG restore is not match with current PG admin pg_restore version Do not upgrade pgAdmin 18.12 (max) / CI PG restore is not match with current PG admin pg_restore version Jan 13, 2025
@Muhammad-Saad12
Copy link

I encountered the same problem while transferring the data form one DB to another. Both source and target DB were using v16 and PgAdmin was using v17. I solved this problem by downloading the PgAdmin v16 to and it solved my problem . You can download from here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD continuous integration/deployment pgAdmin sustainability
Projects
None yet
Development

No branches or pull requests

3 participants