[PR #670] [CLOSED] Add Postgres Checkpointer #1600

Closed
opened 2026-02-20 17:45:07 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/670
Author: @WesGBrooks
Created: 6/13/2024
Status: Closed

Base: mainHead: wgb/add-postgres-checkpointer


📝 Commits (2)

  • 618f090 ChatGPT 4o generated postgres checkpointer, based on the pattern and paradigms of both sqlite checkpointers and the base module. NOT YET TESTED.
  • 60b3697 bug fixes for base implementation.

📊 Changes

3 files changed (+505 additions, -2 deletions)

View changed files

langgraph/checkpoint/postgres.py (+410 -0)
📝 poetry.lock (+93 -2)
📝 pyproject.toml (+2 -0)

📄 Description

Based on the base checkpointer and the patterns in the sqlite and async sqlite checkpointers, wanted to build an additional checkpointer for postgres to support long-term & hosted storage of checkpoints.

This is my first fork/PR on a public project, but wanted to contribute towards something that would support my use of langgraph as well as others. So let me know what I can add/do to improve!


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraph/pull/670 **Author:** [@WesGBrooks](https://github.com/WesGBrooks) **Created:** 6/13/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `wgb/add-postgres-checkpointer` --- ### 📝 Commits (2) - [`618f090`](https://github.com/langchain-ai/langgraph/commit/618f090a509b54f78ce99a6374c784a3203d83bf) ChatGPT 4o generated postgres checkpointer, based on the pattern and paradigms of both sqlite checkpointers and the base module. NOT YET TESTED. - [`60b3697`](https://github.com/langchain-ai/langgraph/commit/60b3697f2ec95398eb11f30dd96c3b34f1dbac77) bug fixes for base implementation. ### 📊 Changes **3 files changed** (+505 additions, -2 deletions) <details> <summary>View changed files</summary> ➕ `langgraph/checkpoint/postgres.py` (+410 -0) 📝 `poetry.lock` (+93 -2) 📝 `pyproject.toml` (+2 -0) </details> ### 📄 Description Based on the base checkpointer and the patterns in the sqlite and async sqlite checkpointers, wanted to build an additional checkpointer for postgres to support long-term & hosted storage of checkpoints. This is my first fork/PR on a public project, but wanted to contribute towards something that would support my use of langgraph as well as others. So let me know what I can add/do to improve! --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-20 17:45:07 -05:00
yindo closed this issue 2026-02-20 17:45:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#1600