[PR #242] [CLOSED] Added postgresql sync and async checkpoint classes #1327

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/242
Author: @sharan9678
Created: 3/29/2024
Status: Closed

Base: mainHead: main


📝 Commits (3)

  • 573c327 Added postgresql sync and async checkpointer classes
  • 130dc53 Changed the lints and formatted the code
  • a7d7563 Merge branch 'langchain-ai:main' into main

📊 Changes

5 files changed (+541 additions, -0 deletions)

View changed files

langgraph/checkpoint/aiopostgresql.py (+165 -0)
langgraph/checkpoint/postgresql.py (+184 -0)
📝 pyproject.toml (+1 -0)
📝 tests/test_pregel.py (+91 -0)
📝 tests/test_pregel_async.py (+100 -0)

📄 Description

I have added the postgresql sync and async checkpoints classes using psycopg3.
To run the test we need to have a postgresql installed locally and then change the connection string in the both sync and async pregal test files.


🔄 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/242 **Author:** [@sharan9678](https://github.com/sharan9678) **Created:** 3/29/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`573c327`](https://github.com/langchain-ai/langgraph/commit/573c327fa2ae7fd0f63621eba7365a066e6aeb8d) Added postgresql sync and async checkpointer classes - [`130dc53`](https://github.com/langchain-ai/langgraph/commit/130dc531ac0febe000034dde7179a6f1edae8474) Changed the lints and formatted the code - [`a7d7563`](https://github.com/langchain-ai/langgraph/commit/a7d7563c79ed4be0aa0ab35f810cb0946871de99) Merge branch 'langchain-ai:main' into main ### 📊 Changes **5 files changed** (+541 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `langgraph/checkpoint/aiopostgresql.py` (+165 -0) ➕ `langgraph/checkpoint/postgresql.py` (+184 -0) 📝 `pyproject.toml` (+1 -0) 📝 `tests/test_pregel.py` (+91 -0) 📝 `tests/test_pregel_async.py` (+100 -0) </details> ### 📄 Description I have added the postgresql sync and async checkpoints classes using psycopg3. To run the test we need to have a postgresql installed locally and then change the connection string in the both sync and async pregal test files. --- <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:44:27 -05:00
yindo closed this issue 2026-02-20 17:44:27 -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#1327