[PR #2409] Relax BasePostgresSaver _search_where assumption (implements discussion 2396) #2687

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

Original Pull Request: https://github.com/langchain-ai/langgraph/pull/2409

State: closed
Merged: No


This PR relaxes the assumptions of the _search_where() function of the BasePostgresSaver class such that a thread_id is no longer required. This enables searches like "Show me all checkpoints with a given user_id in the metadata", which would have an empty configurable and only rely on filters.

Implements discussion #2396.

**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/2409 **State:** closed **Merged:** No --- This PR relaxes the assumptions of the _search_where() function of the BasePostgresSaver class such that a thread_id is no longer required. This enables searches like "Show me all checkpoints with a given user_id in the metadata", which would have an empty configurable and only rely on filters. Implements discussion #2396.
yindo added the pull-request label 2026-02-20 17:47:24 -05:00
yindo closed this issue 2026-02-20 17:47:24 -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#2687