LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph.checkpoint.postgresPostgresSaverfrom_conn_string
    Method●Since v1.0

    from_conn_string

    Create a new PostgresSaver instance from a connection string.

    Copy
    from_conn_string(
      cls,
      conn_string: str,
      *,
      pipeline: bool = False
    ) -> Iterator[PostgresSaver]

    Parameters

    NameTypeDescription
    conn_string*str

    The Postgres connection info string.

    pipelinebool
    Default:False

    whether to use Pipeline

    View source on GitHub