Error code

PostgreSQL 57P01

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

What it means

admin_shutdown — the server is shutting down.

How to fix it

  1. Wait for the server to complete its restart and reconnect.
  2. Monitor the PostgreSQL log to confirm the shutdown reason (planned maintenance vs. crash).
  3. Set up automatic reconnection in the connection pool or application.

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