Skip to content

Glossary: PostgreSQL Beyond the Basics

Prepared statement

Also written: prepared statements, max_prepared_statements

A statement a driver parses once and reuses, which belongs to a session. PgBouncer 1.21 and later can track them in transaction mode if `max_prepared_statements` is above 0.

Where the book teaches it

Related terms

PgBouncer, pool modes