Skip to content

Add PostgreSQL versions 18.6, 17.11, 16.15, 15.19, and 14.24 with configuration files - #32

Open
N6REJ wants to merge 2 commits into
mainfrom
August
Open

Add PostgreSQL versions 18.6, 17.11, 16.15, 15.19, and 14.24 with configuration files#32
N6REJ wants to merge 2 commits into
mainfrom
August

Conversation

@N6REJ

@N6REJ N6REJ commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

now recognizes versions that have the -1 version suffix. will create a version without the suffix even if its that way in the .properties file.
for example, 17.11-1 will be 17.11 version

@N6REJ
N6REJ requested a review from jwaisner August 28, 2026 11:49
@N6REJ N6REJ added the enhancement ✨ Improve program label Aug 28, 2026
Auto-generated from release 2026.8.28
@github-actions

github-actions Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

🐘 PostgreSQL Module Tests - Results

Test Date: 2026-08-28 11:55:56 UTC
Status: ✅ All tests passed

📊 Test Results by Version

PostgreSQL 14.24
PostgreSQL 15.19
PostgreSQL 16.15
PostgreSQL 17.11
PostgreSQL 18.6

Results: 5 of 5 versions tested

All tests passed successfully! ✨


📋 Test Phases

Each version is tested through the following phases:

  • Phase 1: Installation Validation (Download, Extract, Verify Executables)
  • Phase 2: Basic Functionality (Test Executable Versions)

Check artifacts for detailed logs.

@qodo-code-review

Copy link
Copy Markdown

PR Summary by Qodo

Add PostgreSQL 14.24–18.6 bundles and suffixed source lookup

🐞 Bug fix ✨ Enhancement ⚙️ Configuration changes 🕐 20-40 Minutes

Grey Divider

AI Description

• Adds bundle templates for PostgreSQL 14.24, 15.19, 16.15, 17.11, and 18.6.
• Resolves -1 source keys while preserving unsuffixed Bearsampp release versions.
• Advances the bundle release identifier to the August 2026 release.
Diagram

graph TD
  A["Release task"] --> B["Bundle version"] --> C{"Source key"}
  C -->|"version-1 preferred"| D["Untouched properties"] --> E["PostgreSQL binaries"] --> F["Version templates"] --> G["Release archive"]
  C -->|"version fallback"| D
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Generalize packaging-revision lookup
  • ➕ Supports future keys such as 17.11-2 without another build-script change.
  • ➕ Can select the latest available packaging revision automatically.
  • ➖ Requires explicit revision ordering and collision rules.
  • ➖ May silently choose an unintended artifact when multiple revisions exist.

Recommendation: Keep the explicit -1 preference with an unsuffixed fallback because it matches the current repository convention and preserves stable bundle names. Generalize revision discovery only if modules-untouched begins publishing multiple numeric packaging revisions.

Files changed (22) +298 / -3

Bug fix (1) +12 / -2
build.gradleResolve suffixed PostgreSQL source versions +12/-2

Resolve suffixed PostgreSQL source versions

• Checks for a '<version>-1' properties key before the unsuffixed key, allowing packaging-revision artifacts to produce unsuffixed Bearsampp bundles. String concatenation avoids Groovy 'GString' key-equality failures with 'Properties.containsKey()'.

build.gradle

Other (21) +286 / -1
bearsampp.confDefine PostgreSQL 14.24 bundle metadata +14/-0

Define PostgreSQL 14.24 bundle metadata

• Registers PostgreSQL 14.24, executable paths, configuration locations, default port, and administrator credentials for Bearsampp packaging.

bin/postgresql14.24/bearsampp.conf

init.batInitialize PostgreSQL 14.24 data directory +5/-0

Initialize PostgreSQL 14.24 data directory

• Creates a UTF-8 database cluster with trust authentication, logs installation output, and installs the bundled server and HBA templates.

bin/postgresql14.24/init.bat

pg_hba.conf.berConfigure PostgreSQL 14.24 local trust access +3/-0

Configure PostgreSQL 14.24 local trust access

• Allows trusted IPv4 and IPv6 loopback connections for all databases and users.

bin/postgresql14.24/pg_hba.conf.ber

postgresql.conf.berAdd PostgreSQL 14.24 server template +35/-0

Add PostgreSQL 14.24 server template

• Defines version-specific data paths plus standard Bearsampp connection, memory, and logging settings.

bin/postgresql14.24/postgresql.conf.ber

bearsampp.confDefine PostgreSQL 15.19 bundle metadata +14/-0

Define PostgreSQL 15.19 bundle metadata

• Registers PostgreSQL 15.19, executable paths, configuration locations, default port, and administrator credentials for Bearsampp packaging.

bin/postgresql15.19/bearsampp.conf

init.batInitialize PostgreSQL 15.19 data directory +5/-0

Initialize PostgreSQL 15.19 data directory

• Creates a UTF-8 database cluster with trust authentication, logs installation output, and installs the bundled server and HBA templates.

bin/postgresql15.19/init.bat

pg_hba.conf.berConfigure PostgreSQL 15.19 local trust access +3/-0

Configure PostgreSQL 15.19 local trust access

• Allows trusted IPv4 and IPv6 loopback connections for all databases and users.

bin/postgresql15.19/pg_hba.conf.ber

postgresql.conf.berAdd PostgreSQL 15.19 server template +35/-0

Add PostgreSQL 15.19 server template

• Defines version-specific data paths plus standard Bearsampp connection, memory, and logging settings.

bin/postgresql15.19/postgresql.conf.ber

bearsampp.confDefine PostgreSQL 16.15 bundle metadata +14/-0

Define PostgreSQL 16.15 bundle metadata

• Registers PostgreSQL 16.15, executable paths, configuration locations, default port, and administrator credentials for Bearsampp packaging.

bin/postgresql16.15/bearsampp.conf

init.batInitialize PostgreSQL 16.15 data directory +5/-0

Initialize PostgreSQL 16.15 data directory

• Creates a UTF-8 database cluster with trust authentication, logs installation output, and installs the bundled server and HBA templates.

bin/postgresql16.15/init.bat

pg_hba.conf.berConfigure PostgreSQL 16.15 local trust access +3/-0

Configure PostgreSQL 16.15 local trust access

• Allows trusted IPv4 and IPv6 loopback connections for all databases and users.

bin/postgresql16.15/pg_hba.conf.ber

postgresql.conf.berAdd PostgreSQL 16.15 server template +35/-0

Add PostgreSQL 16.15 server template

• Defines version-specific data paths plus standard Bearsampp connection, memory, and logging settings.

bin/postgresql16.15/postgresql.conf.ber

bearsampp.confDefine PostgreSQL 17.11 bundle metadata +14/-0

Define PostgreSQL 17.11 bundle metadata

• Registers PostgreSQL 17.11, executable paths, configuration locations, default port, and administrator credentials for Bearsampp packaging.

bin/postgresql17.11/bearsampp.conf

init.batInitialize PostgreSQL 17.11 data directory +5/-0

Initialize PostgreSQL 17.11 data directory

• Creates a UTF-8 database cluster with trust authentication, logs installation output, and installs the bundled server and HBA templates.

bin/postgresql17.11/init.bat

pg_hba.conf.berConfigure PostgreSQL 17.11 local trust access +3/-0

Configure PostgreSQL 17.11 local trust access

• Allows trusted IPv4 and IPv6 loopback connections for all databases and users.

bin/postgresql17.11/pg_hba.conf.ber

postgresql.conf.berAdd PostgreSQL 17.11 server template +35/-0

Add PostgreSQL 17.11 server template

• Defines version-specific data paths plus standard Bearsampp connection, memory, and logging settings.

bin/postgresql17.11/postgresql.conf.ber

bearsampp.confDefine PostgreSQL 18.6 bundle metadata +14/-0

Define PostgreSQL 18.6 bundle metadata

• Registers PostgreSQL 18.6, executable paths, configuration locations, default port, and administrator credentials for Bearsampp packaging.

bin/postgresql18.6/bearsampp.conf

init.batInitialize PostgreSQL 18.6 data directory +5/-0

Initialize PostgreSQL 18.6 data directory

• Creates a UTF-8 database cluster with trust authentication, logs installation output, and installs the bundled server and HBA templates.

bin/postgresql18.6/init.bat

pg_hba.conf.berConfigure PostgreSQL 18.6 local trust access +3/-0

Configure PostgreSQL 18.6 local trust access

• Allows trusted IPv4 and IPv6 loopback connections for all databases and users.

bin/postgresql18.6/pg_hba.conf.ber

postgresql.conf.berAdd PostgreSQL 18.6 server template +35/-0

Add PostgreSQL 18.6 server template

• Defines version-specific data paths plus standard Bearsampp connection, memory, and logging settings.

bin/postgresql18.6/postgresql.conf.ber

build.propertiesAdvance the bundle release date +1/-1

Advance the bundle release date

• Changes the bundle release identifier from '2025.6.2' to '2026.8.28'.

build.properties

@qodo-code-review

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can reply 'qodo' on any finding to push back, ask questions, or dig deeper

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement ✨ Improve program

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants