In the Azure Portal under PostgreSQL the server configuration statement_timeout controls the following.
"Sets the maximum allowed duration (in milliseconds) of any statement. 0 turns this off."
There doesn't seem to be a way to override that setting once it is set. We use Npgsql's .NET Provider and have tried setting the timeout=0 and the command timeout=0 on the connection string to see that would override but it doesn't seem to have an effect on the timeout. We don't want to disable it or set it to a large interval, but we have some stored procedures that run a long time and would like to set on a per statement basis.
thank you.