Skip to content

macOS: detect the installed pgAdmin 4 version and offer install/upgrade/skip#611

Open
agarwal-kritika wants to merge 7 commits into
REL-19from
dev/Kritika
Open

macOS: detect the installed pgAdmin 4 version and offer install/upgrade/skip#611
agarwal-kritika wants to merge 7 commits into
REL-19from
dev/Kritika

Conversation

@agarwal-kritika

Copy link
Copy Markdown
Contributor
  • read installed version from the app's Info.plist (/Applications, then /Library/PostgreSQL/*)
  • compare against the FTP latest; install / upgrade / skip, warn if latest unknown

agarwal-kritika and others added 6 commits June 5, 2026 16:34
…mmands

- installer.xml.in: when the latest pgAdmin version can't be determined
  (FTP unreachable), show an interactive warning telling the user to install
  pgAdmin manually, in addition to logging and skipping. Gated to non-unattended.
- install-pgadmin.sh: the case statement now runs the full install flow only
  when called with NO arguments, and errors out on any unknown command instead
  of silently downloading and installing pgAdmin (e.g. a typo like
  "latest version" no longer triggers an install).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
macos-pgadmin-version-detection.patch is a throwaway diff artifact and
should not be tracked in the repo.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
When run from the installer's environment, curl's HTTP/2 stack fails with
"curl: (16) Error in the HTTP2 framing layer", even though the same call
works from a normal shell - so the latest-version lookup returned empty and
pgAdmin was always skipped. Force HTTP/1.1 (which sidesteps the failing
framing layer) and add --retry for transient blips, on both the version
lookup and the DMG download.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@agarwal-kritika agarwal-kritika self-assigned this Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant