# What changed in psycopg

> 2 changes in psycopg 3 from its official release notes, upgrade guides and advisories: 2 new APIs and options. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/pypi/psycopg/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## psycopg 3

### New APIs and options

- Adds a byte threshold for sending data to libpq before waiting for it to flush, allowing control over memory use when the server consumes data slowly. (3.3.7) — [docs](https://www.psycopg.org/psycopg3/docs/api/copy.html)
- Adds a byte threshold for sending data to libpq before waiting for it to flush, allowing control over memory use when the server consumes data slowly. (3.3.7) — [docs](https://www.psycopg.org/psycopg3/docs/api/copy.html)
