# BasePostgresSaver

> **Class** in `langgraph.checkpoint.postgres`

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

## Signature

```python
BasePostgresSaver()
```

## Extends

- `BaseCheckpointSaver[str]`

## Properties

- `SELECT_SQL`
- `SELECT_PENDING_SENDS_SQL`
- `MIGRATIONS`
- `UPSERT_CHECKPOINT_BLOBS_SQL`
- `UPSERT_CHECKPOINTS_SQL`
- `UPSERT_CHECKPOINT_WRITES_SQL`
- `INSERT_CHECKPOINT_WRITES_SQL`
- `supports_pipeline`

## Methods

- [`get_next_version()`](https://reference.langchain.com/python/langgraph.checkpoint.postgres/base/BasePostgresSaver/get_next_version)

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/398d6cc59d4cf81ab23c09f037e9f521c3fedcd6/libs/checkpoint-postgres/langgraph/checkpoint/postgres/base.py#L297)