Skip to content

PG19 follow-up: asyncpg 0.32, CI/dev on postgres 19, upsert via RETURNING old/new - #403

Merged
ohld merged 2 commits into
productionfrom
pg19-native
Nov 24, 2026
Merged

ohld merged 2 commits into
productionfrom
pg19-native

Conversation

@ohld

@ohld ohld commented Nov 24, 2026

Copy link
Copy Markdown
Member
  • asyncpg 0.31→0.32 (first PG19-aware release)
  • CI and local compose: postgres:19 (were 14); new local volume app_pg19_data because 18+ images moved PGDATA
  • create_or_update_user: single INSERT … ON CONFLICT … RETURNING new.*, old.id IS NULL (drops the xmax=0 hack) + test
  • Gates: 630 passed on PG19

Postgres 16 → 19 moved in production on 2026-11-24; this is the follow-up pass (PG19 compatibility + native-SQL simplifications). Full audit notes in the PR thread on request.

🤖 Generated with Claude Code

ohld and others added 2 commits November 24, 2026 09:41
…l compose

- create_or_update_user: RETURNING new.*, old.id IS NULL (PG18+) replaces
  the xmax = 0 hack and the wrapper CTE; user id is now a bind parameter
- asyncpg 0.31 -> 0.32 (first release with PG19 support)
- CI test service and local app_db: postgres 14 -> 19.0; PG18+ images keep
  data under /var/lib/postgresql, so local data moves to a new volume
  (old app_pg_data volume is left untouched)
- CLAUDE.md: DB is PostgreSQL 19

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ohld
ohld merged commit 0d393dd into production Nov 24, 2026
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