# langgraph.checkpoint.postgres

> Python package

📖 [View in docs](https://reference.langchain.com/python/langgraph.checkpoint.postgres)

## Classes

- [`PostgresSaver`](https://reference.langchain.com/python/langgraph.checkpoint.postgres/PostgresSaver)
- [`AsyncPostgresSaver`](https://reference.langchain.com/python/langgraph.checkpoint.postgres/aio/AsyncPostgresSaver)
- [`BasePostgresSaver`](https://reference.langchain.com/python/langgraph.checkpoint.postgres/base/BasePostgresSaver)
- [`ShallowPostgresSaver`](https://reference.langchain.com/python/langgraph.checkpoint.postgres/shallow/ShallowPostgresSaver)
- [`AsyncShallowPostgresSaver`](https://reference.langchain.com/python/langgraph.checkpoint.postgres/shallow/AsyncShallowPostgresSaver)

## Functions

- [`get_connection()`](https://reference.langchain.com/python/langgraph.checkpoint.postgres/_internal/get_connection)
- [`get_connection()`](https://reference.langchain.com/python/langgraph.checkpoint.postgres/_ainternal/get_connection)

## Types

- [`MetadataInput`](https://reference.langchain.com/python/langgraph.checkpoint.postgres/base/MetadataInput)
- [`Conn`](https://reference.langchain.com/python/langgraph.checkpoint.postgres/_internal/Conn)
- [`Conn`](https://reference.langchain.com/python/langgraph.checkpoint.postgres/_ainternal/Conn)
