') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); })(); Add PostgreSQL versions 18.6, 17.11, 16.15, 15.19, and 14.24 with configuration files by N6REJ · Pull Request #32 · Bearsampp/module-postgresql · GitHub
Skip to content

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

Merged
jwaisner merged 2 commits into
mainfrom
August
Aug 30, 2026
Merged

Add PostgreSQL versions 18.6, 17.11, 16.15, 15.19, and 14.24 with configuration files#32
jwaisner merged 2 commits into
mainfrom
August

Conversation

@N6REJ

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 jwaisnerAugust 28, 2026 11:49
@N6REJN6REJ added the enhancement ✨ Improve program label Aug 28, 2026
Auto-generated from release 2026.8.28
@github-actions

github-actionsBot 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

@jwaisner
jwaisner merged commit c78a2af into mainAug 30, 2026
10 checks passed
@jwaisner
jwaisner deleted the August branch August 30, 2026 03:39
Sign up for freeto 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

@N6REJ@jwaisner