[PR #2062] [MERGED] Fix PostgresStore initialization in CompositeBackend #2099

Closed
opened 2026-02-17 17:23:03 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/2062
Author: @ahmedhajyahmed
Created: 1/2/2026
Status: Merged
Merged: 1/5/2026
Merged by: @mdrxy

Base: mainHead: patch-1


📝 Commits (1)

  • fb999f1 Fix PostgresStore initialization in CompositeBackend

📊 Changes

1 file changed (+5 additions, -1 deletions)

View changed files

📝 src/oss/deepagents/long-term-memory.mdx (+5 -1)

📄 Description

The current documentation reference a connection_string argument that does not exist on PostgresStore. This change updates the documentation to use the supported context manager pattern via PostgresStore.from_conn_string(...), retrieving the store through __enter__().

Overview

Type of change

  • Update existing documentation: The current documentation reference a connection_string argument that does not exist on PostgresStore.

Checklist

  • I have read the contributing guidelines
  • I have tested my changes locally
  • All code examples have been tested and work correctly

🔄 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/docs/pull/2062 **Author:** [@ahmedhajyahmed](https://github.com/ahmedhajyahmed) **Created:** 1/2/2026 **Status:** ✅ Merged **Merged:** 1/5/2026 **Merged by:** [@mdrxy](https://github.com/mdrxy) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`fb999f1`](https://github.com/langchain-ai/docs/commit/fb999f11a3d3ed5fb47b132f8ed0a927ea57cde2) Fix PostgresStore initialization in CompositeBackend ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/deepagents/long-term-memory.mdx` (+5 -1) </details> ### 📄 Description The current documentation reference a `connection_string` argument that does not exist on PostgresStore. This change updates the documentation to use the supported context manager pattern via `PostgresStore.from_conn_string(...)`, retrieving the store through `__enter__()`. ## Overview <!-- Brief description of what documentation is being added/updated --> ## Type of change - Update existing documentation: The current documentation reference a `connection_string` argument that does not exist on PostgresStore. ## Checklist <!-- Put an 'x' in all boxes that apply --> - [x] I have read the [contributing guidelines](README.md) - [x] I have tested my changes locally - [x] All code examples have been tested and work correctly --- <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-17 17:23:03 -05:00
yindo closed this issue 2026-02-17 17:23:03 -05:00
yindo changed title from [PR #2062] Fix PostgresStore initialization in CompositeBackend to [PR #2062] [MERGED] Fix PostgresStore initialization in CompositeBackend 2026-06-05 18:16:38 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#2099