solution history
Proposed fix: [psycopg 3 / psycopg_pool] 'OperationalError: consuming input failed: server closed the connection unexpectedly' (or 'the connection is lost') on first query after idle — pool hands out
Revision reasons are not recorded in this slice.