Skip to content

Add PostgreSQL and EDB Advanced Server 19 to the binary path settings. #10867 - #10913

Merged
dpage merged 1 commit into
pgadmin-org:masterfrom
dpage:fix/issue-10867-pg19-binary-paths
Dec 1, 2026
Merged

dpage merged 1 commit into
pgadmin-org:masterfrom
dpage:fix/issue-10867-pg19-binary-paths

Conversation

@dpage

@dpage dpage commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Adds version 19 rows to the PostgreSQL and EDB Advanced Server grids under Preferences > Paths > Binary paths, and pg-19/ppas-19 keys to DEFAULT_BINARY_PATHS and FIXED_BINARY_PATHS, so a version 19 utility path can be set by users or fixed by an administrator. EPAS is included as well, following the same pattern as the v18 change (e4f17e5).
  • Adds a unit test that checks the grid rows and the config keys cover the same contiguous range of major versions, ending at 19, so a future version added in one place and not the other gets caught.
  • Existing users pick up the new row through the existing preference migration in ServerType.register_preferences, which merges saved paths into the current BINARY_PATHS list.

docs/en_US/container_deployment.rst is deliberately unchanged: the container does not ship PostgreSQL 19 utilities yet, so its DEFAULT_BINARY_PATHS example (which mirrors pkg/docker/entrypoint.sh) should not list pg-19 until it does.

Test plan

  • regression/runtests.py --pkg utils.tests.test_binary_path_versions passes, and fails on master without the change
  • pycodestyle on the changed files

Closes #10867

Summary by CodeRabbit

  • New Features
    • Added binary path configuration entries for PostgreSQL 19 and EDB Advanced Server 19. No binary paths are preconfigured for these versions; you can provide paths in the application settings.

…pgadmin-org#10867

Add version 19 rows to the PostgreSQL and EDB Advanced Server binary path
grids, and 'pg-19' and 'ppas-19' keys to DEFAULT_BINARY_PATHS and
FIXED_BINARY_PATHS, so that utility paths for version 19 servers can be
configured by users and fixed by administrators. A new unit test checks
that the grid rows and the config keys cover the same contiguous range of
major versions.

Closes pgadmin-org#10867
@dpage dpage self-assigned this Dec 1, 2026
@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The binary path settings add PostgreSQL 19 and EDB Advanced Server 19 entries. Default and fixed path configuration includes pg-19 and ppas-19. New tests check version coverage and configured keys.

Changes

Binary path support

Layer / File(s) Summary
Add version 19 binary path settings
web/pgadmin/utils/constants.py, web/config.py
Binary path definitions add PostgreSQL 19 and EDB Advanced Server 19 entries. Default and fixed path settings add pg-19 and ppas-19 keys.
Check supported binary path versions
web/pgadmin/utils/tests/test_binary_path_versions.py
Tests check that PostgreSQL and EDB Advanced Server versions are contiguous through 19, validate entry values and server-type labels, and check the matching configuration keys.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature · Severity of issue fixed: Medium

Possibly related PRs

Suggested reviewers: akshay-joshi

Merge Risk: Minimal · up to 7a7e6

This adds PostgreSQL 19 and EDB Advanced Server 19 binary path settings, following the pattern used for versions 13–18. Existing users get the new row through the preference migration, and no merge-blocking risk was found.

Pre-merge checks: Passed 3 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive [#10867] Requirement: PostgreSQL 19 and EDB Advanced Server 19 rows in the binary path grids, plus pg-19 and ppas-19 keys in DEFAULT_BINARY_PATHS and FIXED_BINARY_PATHS, and a unit test for coverage. … Provide readable evidence of web/config.py at the reviewed head, specifically the DEFAULT_BINARY_PATHS and FIXED_BINARY_PATHS definitions, confirming that the pg-19 and ppas-19 keys are present. Confirm that test_binary_path_versions passes…
Passed Passed checks: 3 passed

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: adding PostgreSQL 19 and EDB Advanced Server 19 to the binary path settings. The raw summary, PR objectives, and linked issue #10867 all describe version 19 rows and p…
Out of Scope Changes check Passed The changed files are web/pgadmin/utils/constants.py (new version 19 rows for PostgreSQL and EDB Advanced Server), web/config.py (pg-19 and ppas-19 keys, per the PR summary), and web/pgadmin/utils/tes…
Full details: Title check

Explanation

The title names the main change: adding PostgreSQL 19 and EDB Advanced Server 19 to the binary path settings. The raw summary, PR objectives, and linked issue #10867 all describe version 19 rows and pg-19/ppas-19 config keys, so the title matches the changeset. It is specific and concise, and it does not mention the added test, which is acceptable.

Full details: Out of Scope Changes check

Explanation

The changed files are web/pgadmin/utils/constants.py (new version 19 rows for PostgreSQL and EDB Advanced Server), web/config.py (pg-19 and ppas-19 keys, per the PR summary), and web/pgadmin/utils/tests/test_binary_path_versions.py (coverage test). All three directly implement #10867 or support its test requirement. The container deployment docs stay unchanged, as the PR explains and the issue allows. No unrelated change was found in the inspected evidence. The web/config.py content was not directly inspected, so this verdict covers the described change only.

Full details: Linked Issues check

Explanation

[#10867] Requirement: PostgreSQL 19 and EDB Advanced Server 19 rows in the binary path grids, plus pg-19 and ppas-19 keys in DEFAULT_BINARY_PATHS and FIXED_BINARY_PATHS, and a unit test for coverage. Verified at the reviewed head: web/pgadmin/utils/constants.py adds a version 190000 row (next_major_version 200000, isDefault False) for both 'PostgreSQL 19' in pg_bin_paths and 'EDB Advanced Server 19' in as_bin_paths. The 18 rows already point to next_major_version 190000, so no change to them is needed. Verified: web/pgadmin/utils/tests/test_binary_path_versions.py exists. It checks contiguous majors ending at LATEST_SUPPORTED_MAJOR = 19, the serverType labels, and that DEFAULT_BINARY_PATHS and FIXED_BINARY_PATHS hold exactly the matching pg/ppas and per-major keys. Not verified: the web/config.py diff could not be read (the diff was unavailable and the full-file read was truncated before DEFAULT_BINARY_PATHS). The pg-19 and ppas-19 key additions therefore rest on the PR summary only. The test pass result is the author's claim and was not run.

Resolution

Provide readable evidence of web/config.py at the reviewed head, specifically the DEFAULT_BINARY_PATHS and FIXED_BINARY_PATHS definitions, confirming that the pg-19 and ppas-19 keys are present. Confirm that test_binary_path_versions passes at the reviewed head.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 36487e7 and 7a7e673.

Files selected for processing: 3

  • web/config.py
  • web/pgadmin/utils/constants.py
  • web/pgadmin/utils/tests/test_binary_path_versions.py

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

@dpage
dpage merged commit 6e13673 into pgadmin-org:master Dec 1, 2026
33 checks passed
@dpage
dpage deleted the fix/issue-10867-pg19-binary-paths branch December 1, 2026 12:01
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.

Add PostgreSQL 19 to the binary path settings

1 participant