Error code

PostgreSQL 57014

POSTGRESQL57014
Database Error Code· An error code returned by a database server such as PostgreSQL or MySQL.

What it means

query_canceled — the query was explicitly canceled.

How to fix it

  1. Increase statement_timeout for long-running legitimate queries or run them in a background worker.
  2. Optimize the query plan with EXPLAIN ANALYZE to reduce execution time.
  3. Investigate whether client-side timeouts are too aggressive relative to expected query duration.

Not affiliated with PostgreSQL. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.