Skip to content

PostgreSQL 18 is the reference server - #616

Merged
fazpu merged 6 commits into
mainfrom
feat/postgres-18
Nov 14, 2026
Merged

fazpu merged 6 commits into
mainfrom
feat/postgres-18

Conversation

@fazpu

@fazpu fazpu commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Summary

PostgreSQL 19 was selected for SQL/PGQ, which upstream removed. The graph already uses ordinary joins. D157 makes PostgreSQL 18 the sole reference server, with no compatibility shim or dual-major path.

  • Pin official 18.6-trixie to the October 28 multi-platform digest. 18.7 (November 12) does not meet the owner's two-week age floor.
  • Retain pgvector 0.8.6, pg_partman 5.5.0 and pg_textsearch 1.5.1 pins; remove the RC-only forced-header include and obsolete Beta 3 graph cleanup.
  • Update Compose, CI, release foundation tags (18-<version>), readiness, query-space and native capture contracts, decisions/designs and OSS website docs.
  • Use PG18's btree_gist=1.8 in capture qualification. Classify profile advisory-lock timeouts by fixed operation and SQLSTATE: PG18 omits the error context used by the old prose check. Other query timeouts remain errors. No reuse input or paid-work generation changes.

Verification

Passed on PostgreSQL 18:

  • Full sequential 5199-case suite at the requested localhost:55433 database URL with real MinIO: 5177 passed, 20 skipped, 2 xfailed, zero failures/errors in 37m53s on final runtime commit 236557742.
  • Both local foundation builds and upstream pg_textsearch 82/82 on each (native arm64; emulated amd64). CI/release retain native runners.
  • 19 migration lifecycle checks; all 14 profile-refresher checks, including shared/exclusive contention and the unrelated-timeout negative proof.
  • Opt-in actual-LOGIN native capture: 9 guard + 5 original-view checks, in separate empty scratch databases.
  • 40 converter checks with real LibreOffice in the engine image.
  • Local Compose startup, first SQL query, three-bucket round trips and conditional create, zero-cost full pipeline/readiness and prior-schema startup-order upgrade.
  • Ruff lint/format, Pyright, five import contracts, 277-file inventory, release contract, public/cloud docs truth, website build/typecheck and generated-artifact freshness (manifest, defaults, capture profile, OpenAPI, TypeScript/parity and llms).

All 18 CI checks passed on that runtime commit, including all three integration lanes, Compose, arm64 image, unit/quality/contracts, four SDK platforms and both website builds. Deployment was skipped.

Twenty skips cover four host LibreOffice cases and fourteen native-capture cases (all covered separately), plus two fixture-conditional cases with no fact ID shared by relation and observation kinds. Two existing D122 cross-section Claimify expected failures remain unchanged. The final run's seven warnings are the existing Starlette/httpx deprecation and pytest xunit2 property-format warnings.

The legacy semantic parity oracle now disables JIT only in its comparison transactions: an old-view probe compiled 3258 functions (9.898 s versus 0.209 s for identical rows). Its complete unchanged assertions pass in 91.58 s. Production settings and scale/plan gates are unchanged.

Managed migration handoff

The validation and remember.dev handoff records exact paths and commands for writeitai/ultimate-memory-cloud: umc-pg-01's foundation/wrapper image and host configuration, fresh PG18 storage and pgBackRest paths, postgres_major=18/btree_gist=1.8 capture qualification, runtime CI and pin-updater tag validation, and provisioning image/profile inputs. It also identifies the generator that otherwise carries the old major forward. This requires a separately qualified migration using a future engine release's immutable artifacts. No managed files/hosts, merge or release were changed here.

Contributor agreement

Signing on behalf of a legal entity (leave blank if accepting individually):

@fazpu
fazpu marked this pull request as ready for review November 14, 2026 09:32
@fazpu
fazpu merged commit 171bb83 into main Nov 14, 2026
19 checks passed
@fazpu fazpu mentioned this pull request Nov 14, 2026
1 task done
fazpu added a commit that referenced this pull request Nov 14, 2026
…ument-tags-context-ops

Takes step 2's claim-keyed fact enumeration and main's PostgreSQL 18 baseline
(#616). fact_supported_matching stays in core/document_filters. Manifest,
OpenAPI, TypeScript contracts and parity, D143 fixtures, storage-capture pin,
LoCoMo/open-query hash pins and llms*.txt regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VYytLf2PUQ2RVpEZYENzsq
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.

1 participant