On 7/16/25 00:40, Achilleas Mantzios wrote:
>
> On 7/16/25 08:22, KK CHN wrote:
>
> How? I am getting , connecting directly to postgresql, or pgpool, or
> pgbouncer :
>
> achill@smadevnu:~ % psql "postgresql://localhost:5432?statement_timeout=10"
> psql: error: invalid URI query parameter: "statement_timeout"
> achill@smadevnu:~ % psql "postgresql://localhost:9999?statement_timeout=10"
> psql: error: invalid URI query parameter: "statement_timeout"
> achill@smadevnu:~ % psql "postgresql://localhost:6432?statement_timeout=10"
> psql: error: invalid URI query parameter: "statement_timeout"
For completeness the below does work:
psql postgresql://postgres@localhost:5432?options=-cstatement_timeout%3D10
--
Adrian Klaver
adrian.klaver@aklaver.com