Get actual lock_timeout and statement_timeout

pgwatch sets lock_timeout to 100ms locally for each call collecting metrics (https://github.com/cybertec-postgresql/pgwatch/pull/1067) -- so instead of actual value, our observations always get 100ms

how can we get the actual value?

e.g., select reset_val from pg_settings where setting = 'lock_timeout'?

the same is with statement_timeout

Edited by Nikolay Samokhvalov