Page 1 of 1

Query timeout with TUniQuery and PostgreSQL

Posted: Fri 25 Jun 2021 10:36
by therat
I want to limit the amount of time a SELECT query runs. I could not find any properties on TUniConnection or TUniQuery that allow me to implement such behaviour.

Any idea what else I can try?

I am using UniDac 8.4.3 on Berlin 10.1

Re: Query timeout with TUniQuery and PostgreSQL

Posted: Fri 25 Jun 2021 13:49
by evgeniym
Hi there,
You may use SpecificOptions -> CommandTimeout parameter to specify the maximum execution time of the request.

Regards,
Evgeniy