LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangGraph
  • Web
  • Channels
  • Pregel
  • Prebuilt
  • Remote
LangGraph SDK
  • Client
  • Auth
  • React
  • Logging
  • React Ui
  • Server
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
  • Store
LangGraph Checkpoint Redis
  • Shallow
  • Store
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
  • Cli
LangGraph API
LangGraph CLI
LangGraph CUA
  • Utils
LangGraph Supervisor
LangGraph Swarm
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangGraph
WebChannelsPregelPrebuiltRemote
LangGraph SDK
ClientAuthReactLoggingReact UiServer
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
Store
LangGraph Checkpoint Redis
ShallowStore
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
Cli
LangGraph API
LangGraph CLI
LangGraph CUA
Utils
LangGraph Supervisor
LangGraph Swarm
Language
Theme
JavaScript@langchain/langgraph-checkpoint-postgresstore
Moduleā—Since v0.0

store

Copy
import { ... } from "@langchain/langgraph-checkpoint-postgres/store";

Classes

class
PostgresStore

Interfaces

Type Aliases

View source on GitHub
interface
Embeddings

Interface for embedding models. Compatible with LangChain's Embeddings interface.

interface
FilterOperators
interface
HNSWConfig
interface
IndexConfig
interface
IVFFlatConfig
interface
PostgresStoreConfig
interface
PutOptions
interface
SearchItem
interface
SearchOptions
interface
TTLConfig
typeAlias
DistanceMetric: "cosine" | "l2" | "inner_product"
typeAlias
EmbeddingsFunc: (texts: string[])
typeAlias
VectorIndexType: "ivfflat" | "hnsw"

PostgreSQL implementation of the BaseStore interface. This is now a lightweight orchestrator that delegates to specialized modules.