Skip to content
masterclass Buddy

LangGraph · Class

PostgresSaver

PostgresSaver stores LangGraph checkpoints in PostgreSQL. Create it from a connection string or an existing connection, then call setup before first use.

Last updated

Syntax

PostgresSaver.fromConnString(connString: string, options?: Partial<{ schema: string }>): PostgresSaver

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • BaseCheckpointSaver
  • setup
  • fromConnString
  • put
  • putWrites
  • getTuple
  • list

Source: PostgresSaver | @langchain/langgraph-checkpoint-postgres. Checked 2026-11-03.