Skip to content

fix(postgres): update table names(v3) and add checkpoint_blobs deletion#8

Merged
35C4n0r merged 1 commit into
mainfrom
35C4n0r/fix-postgres-batch-delete
May 24, 2026
Merged

fix(postgres): update table names(v3) and add checkpoint_blobs deletion#8
35C4n0r merged 1 commit into
mainfrom
35C4n0r/fix-postgres-batch-delete

Conversation

@35C4n0r

@35C4n0r 35C4n0r commented May 24, 2026

Copy link
Copy Markdown
Owner
  • rename writes -> checkpoint_writes: langgraph-checkpoint-postgres v3+ uses checkpoint_writes, not writes.
  • add BATCH_DELETE_BLOBS targeting checkpoint_blobs: omitting this table left all serialised channel data (messages, tool results, etc.) behind as orphaned rows on every sweep: unbounded storage growth
  • mirror all three changes in AsyncPostgresStrategy

- rename writes -> checkpoint_writes: langgraph-checkpoint-postgres v3+
  uses checkpoint_writes, not writes; the old name caused UndefinedTable
  on every sweep, meaning no Postgres threads were ever deleted
- add BATCH_DELETE_BLOBS targeting checkpoint_blobs: omitting this table
  left all serialised channel data (messages, tool results, etc.) behind
  as orphaned rows on every sweep - unbounded storage growth
- mirror all three changes in AsyncPostgresStrategy
@35C4n0r 35C4n0r force-pushed the 35C4n0r/fix-postgres-batch-delete branch from 1be70ac to acf094c Compare May 24, 2026 03:51
@35C4n0r 35C4n0r merged commit 4283716 into main May 24, 2026
3 checks passed
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