Every error, explained
SQLSTATE codes, condition names, root causes, diagnostic queries, and recovery steps — structured for engineers running PostgreSQL in production.
Showing 3408 of 3908 errors
54000
ERROR
database is not accepting commands that generate new MultiXactIds t… — 54000
program_limit_exceeded
PostgreSQL error "database is not accepting commands that generate new MultiXactIds to avoid wraparound data loss in database "…"" (SQLSTATE 54000, program_limit_exceeded): what it means, common causes, and how to fix it.
54000
ERROR
database is not accepting commands that generate new MultiXactIds t… — 54000
program_limit_exceeded
PostgreSQL error "database is not accepting commands that generate new MultiXactIds to avoid wraparound data loss in database with OID n" (SQLSTATE 54000, program_limit_exceeded): what it means, common causes, and how to fix it.
54000
ERROR
database is not accepting commands that assign new MultiXactIds to… — 54000
program_limit_exceeded
PostgreSQL error "database is not accepting commands that assign new MultiXactIds to avoid wraparound data loss in database "…"" (SQLSTATE 54000, program_limit_exceeded): what it means, common causes, and how to fix it.
54000
ERROR
database is not accepting commands that assign new MultiXactIds to… — 54000
program_limit_exceeded
PostgreSQL error "database is not accepting commands that assign new MultiXactIds to avoid wraparound data loss in database with OID n" (SQLSTATE 54000, program_limit_exceeded): what it means, common causes, and how to fix it.
54000
ERROR
database is not accepting commands that assign new transaction IDs… — 54000
program_limit_exceeded
PostgreSQL error "database is not accepting commands that assign new transaction IDs to avoid wraparound data loss in database "…"" (SQLSTATE 54000, program_limit_exceeded): what it means, common causes, and how to fix it.
54000
ERROR
database is not accepting commands that assign new transaction IDs… — 54000
program_limit_exceeded
PostgreSQL error "database is not accepting commands that assign new transaction IDs to avoid wraparound data loss in database with OID n" (SQLSTATE 54000, program_limit_exceeded): what it means, common causes, and how to fix it.
54000
ERROR
number of array scan keys left by preprocessing (n) exceeds the max… — 54000
program_limit_exceeded
PostgreSQL error "number of array scan keys left by preprocessing (n) exceeds the maximum allowed by parallel btree index scans (n)" (SQLSTATE 54000, program_limit_exceeded): what it means, common causes, and how to fix it.
54000
ERROR
index row size N exceeds maximum N for index “…” — 54000
program_limit_exceeded
PostgreSQL error "index row size N exceeds maximum N for index … — 54000" (SQLSTATE 54000): what it means, common causes, and how to fix it.
54001
ERROR
Statement Too Complex — SQLSTATE 54001
statement_too_complex
The statement is too complex to process.
54001
ERROR
stack depth limit exceeded — 54001
statement_too_complex
PostgreSQL error "stack depth limit exceeded" (SQLSTATE 54001): what it means, common causes, and how to fix it.
54001
ERROR
too many grouping sets present (maximum 4096) — 54001
statement_too_complex
PostgreSQL error "too many grouping sets present (maximum 4096)" (SQLSTATE 54001, statement_too_complex): what it means, common causes, and how to fix it.
54001
ERROR
stack depth limit exceeded — 54001
statement_too_complex
PostgreSQL error "stack depth limit exceeded — 54001" (SQLSTATE 54001): what it means, common causes, and how to fix it.
54011
ERROR
Too Many Columns — SQLSTATE 54011
too_many_columns
A table or result has too many columns.
54011
ERROR
number of columns (n) exceeds limit (n) — 54011
too_many_columns
PostgreSQL error "number of columns (n) exceeds limit (n)" (SQLSTATE 54011, too_many_columns): what it means, common causes, and how to fix it.
54011
ERROR
number of index columns (n) exceeds limit (n) — 54011
too_many_columns
PostgreSQL error "number of index columns (n) exceeds limit (n)" (SQLSTATE 54011, too_many_columns): what it means, common causes, and how to fix it.
54011
ERROR
tables can have at most n columns — 54011
too_many_columns
PostgreSQL error "tables can have at most n columns" (SQLSTATE 54011, too_many_columns): what it means, common causes, and how to fix it.
54011
ERROR
cannot use more than n columns in an index — 54011
too_many_columns
PostgreSQL error "cannot use more than n columns in an index" (SQLSTATE 54011, too_many_columns): what it means, common causes, and how to fix it.
54011
ERROR
cannot have more than n columns in statistics — 54011
too_many_columns
PostgreSQL error "cannot have more than n columns in statistics" (SQLSTATE 54011, too_many_columns): what it means, common causes, and how to fix it.
54011
ERROR
cannot partition using more than n columns — 54011
too_many_columns
PostgreSQL error "cannot partition using more than n columns" (SQLSTATE 54011, too_many_columns): what it means, common causes, and how to fix it.
54011
ERROR
cannot have more than n keys in a foreign key — 54011
too_many_columns
PostgreSQL error "cannot have more than n keys in a foreign key" (SQLSTATE 54011, too_many_columns): what it means, common causes, and how to fix it.
54011
ERROR
CUBE is limited to 12 elements — 54011
too_many_columns
PostgreSQL error "CUBE is limited to 12 elements" (SQLSTATE 54011, too_many_columns): what it means, common causes, and how to fix it.
54011
ERROR
ROW expressions can have at most n entries — 54011
too_many_columns
PostgreSQL error "ROW expressions can have at most n entries" (SQLSTATE 54011, too_many_columns): what it means, common causes, and how to fix it.
54011
ERROR
column definition lists can have at most n entries — 54011
too_many_columns
PostgreSQL error "column definition lists can have at most n entries" (SQLSTATE 54011, too_many_columns): what it means, common causes, and how to fix it.
54011
ERROR
functions in FROM can return at most n columns — 54011
too_many_columns
PostgreSQL error "functions in FROM can return at most n columns" (SQLSTATE 54011, too_many_columns): what it means, common causes, and how to fix it.