Conversation
Open
Agent-Logs-Url: https://github.com/expaso/hassos-addon-timescaledb/sessions/f5938a08-beeb-4286-91bc-c2a1301f2aea Co-authored-by: expaso <26247804+expaso@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add support for Postgres 18
Add PostgreSQL 18 support
Mar 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds PG18 as the new default, upgrading from PG17. Requires Alpine 3.22 (available in
hassio-addons/basev18.x) since PG18 packages aren't in Alpine 3.21.Base image
build.yamlbase images from17.2.5→18.2.1(Alpine 3.21 → 3.22)Dockerfile
timescale/timescaledb:2.26.0-pg18FROM stagepostgresql18(+ jit/dev/contrib) APK packages/usr/libexec/postgresql→postgresql18v3.21→v3.22New docker-dependency Dockerfiles
All built against
timescale/timescaledb:latest-pg18:pgagent-pg18postgis-pg18timescaledb-toolkit-pg18(pgrx config updated to pg18)postgresql-extension-system-stat-pg18pgvector-pg18Automatic upgrade
Added pg17→pg18 upgrade step in
init-addon/run, enabling the full chained upgrade path:Each step runs sequentially via consecutive
ifchecks onPG_VERSION, so users on any supported version upgrade in a single addon restart.Documentation
Updated
.README.j2version header to reflect PostgreSQL 18, TimescaleDB 2.26.0, and TimescaleDB Toolkit 1.22.0.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
pkgs.alpinelinux.org/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.