postgresql error: canceling statement due to user request

后端 未结 4 1712
别那么骄傲
别那么骄傲 2020-12-25 13:00

What causes this error in postgresql?

org.postgresql.util.PSQLException: ERROR: canceling statement due to user request

4条回答
  •  我在风中等你
    2020-12-25 13:07

    In addition to Eric's suggestions, you can see statement cancels when:

    • An adminisrator or another connection logged in as the same user uses pg_cancel_backend to ask your session to cancel its current statement
    • The administrator sends a signal to the PostgreSQL backend that's running your statement
    • The administrator requests a fast shutdown or restart of the PostgreSQL server

    Check for cron jobs or load management tools that might be cancelling long-running queries.

提交回复
热议问题