pgadmin-org / pgadmin-org/pgadmin4

[zstd] Not enabled on MacOS app

Open
#9,425 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
Dominant language
Python
Stars
3.8k
Forks
891
Avg merge
4d 7h
Merged PRs (30d)
8

Description

I tried both 9.9 and 9.10, none of them have zstd enabled in the binaries pre-shipped in the app:

/Applications/pgAdmin\ 4.app/Contents/SharedSupport/pg_restore -f output.sql database.dump 
pg_restore: warning: archive is compressed, but this installation does not support compression (this build does not support compression with zstd) -- no data will be available
pg_restore: error: cannot restore from compressed archive (this build does not support compression with zstd)

This is really problematic given that it completely blocks the ability to deal with zstd DB dump.
Especially that zstd seem activated in the Docker Containers.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the bundled /Applications/pgAdmin 4.app/Contents/SharedSupport/pg_restore and comparing its zstd support with the Docker containers mentioned in the issue. Verify the result with a zstd-compressed PostgreSQL dump; done means the macOS app can restore that dump without the reported unsupported-compression errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.