P
P
postgresdev2019-06-05 12:24:32
PostgreSQL
postgresdev, 2019-06-05 12:24:32

How to solve SQLSTATE[57014]: Query canceled: 7 ERROR: canceling statement due to statement timeout" error?

I am using symfony 3 and postgresql. I get an error with a capacious request, how to solve this problem?
SQLSTATE[57014]: Query canceled: 7 ERROR: canceling statement due to statement timeout",

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Melkij, 2019-06-05
@postgresdev

Look for where statement_timeout is set. Such an error is precisely when this setting is triggered. And it must be included intentionally. So look for where it is set, from the DBMS config, database and user settings to the manually made set in the application.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question