Skip to content

feat: add PostgreSQL 19 variant - #3

Merged
ahze merged 1 commit into
daemonless:mainfrom
Phlogi:feat/postgres-19
Nov 25, 2026
Merged

ahze merged 1 commit into
daemonless:mainfrom
Phlogi:feat/postgres-19

Conversation

@Phlogi

@Phlogi Phlogi commented Nov 25, 2026

Copy link
Copy Markdown

Adds :19 / 19-pkg-latest on PostgreSQL 19.

The old "19 is intentionally absent" comment cited pgvector 0.8.2 failing on
19.b3. That is stale: 19.0 shipped on 2026-11-19 and pgvector 0.8.7 builds and
passes CI on PG 19. FreeBSD has postgresql19-server 19.0 and
VALID_PGSQL_VER already includes 19.

There is no postgresql19-pgvector binary yet (the package repo only builds
PGSQL_DEFAULT), so Containerfile.pkg compiles it from the ports tree with
DEFAULT_VERSIONS+=pgsql=19, as for the other majors. No template change.

Verify:

  • pkg rquery '%v' postgresql19-server -> 19.0
  • amd64 + aarch64 build; vector extversion 0.8.7
  • dbuild generate --check clean

:latest stays on 18; additive tag only.

PostgreSQL 19.0 shipped on 2026-11-19 and pgvector 0.8.7 builds against it
(upstream CI passes on PG 19, PGDG ships postgresql-19-pgvector). The old
comment blocking this variant referenced pgvector 0.8.2 and the 19.b3 betas.

The pgvector port has no binary package for PG 19 yet (the FreeBSD package
repository only builds the default PGSQL_DEFAULT flavor), so Containerfile.pkg
compiles databases/pgvector from the ports tree with
DEFAULT_VERSIONS+=pgsql=19, as it already does for the other majors.
@ahze

ahze commented Nov 25, 2026

Copy link
Copy Markdown
Member

Hey, thanks for the PR! PostgreSQL 19 actually crossed my mind on a run a week or so ago, and I hadn't circled back to check on pgvector support yet. Really appreciate you putting this together, LGTM.

@ahze
ahze merged commit 86c9c49 into daemonless:main Nov 25, 2026
10 checks passed
@Phlogi

Phlogi commented Nov 25, 2026

Copy link
Copy Markdown
Author

Fork verification (real FreeBSD VM build, amd64): passes. pgvector 0.8.7 compiled from the ports tree against PostgreSQL 19, image tests green, manifests/attestations signed. Test image: ghcr.io/phlogi/postgres:19.

One caveat before merging: the FreeBSD pkg mirror still serves postgresql19-server 19.r2 (ports already has 19.0), so the built version tag is 19.r2-19-pkg-latest. Merging now publishes :19 from an RC. Suggest waiting for the pkg mirror to roll to 19.0 and rebuilding.

@ahze

ahze commented Nov 25, 2026

Copy link
Copy Markdown
Member

One caveat before merging: the FreeBSD pkg mirror still serves postgresql19-server 19.r2 (ports already has 19.0), so the built version tag is 19.r2-19-pkg-latest. Merging now publishes :19 from an RC. Suggest waiting for the pkg mirror to roll to 19.0 and rebuilding.

Good catch; saw 19.r2 in the build logs https://github.com/daemonless/postgres/actions/runs/45686177578/job/139459418957#step:8:825 too. Totally fine for now since :latest is still on 18, and it'll rebuild cleanly as soon as 19.0 rolls out to the FreeBSD pkg mirror.

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.

2 participants