Closed dan-aksenov closed 4 years ago
@lesovsky I think you created that script. Can you comment on the -l option?
For me it sounds strange to combine it with a query command. Is it a typo and a different option was intended? Otherwise it sounds safe to remove it. I sm not using pgbouncer so I can not test it.
@dan-aksenov does everything else works fine with the -l removed?
'-l' can be safely removed. This option is used in psql for list databases and in this script is unnecessary.
Hello. script pgbouncer.pool.discovery.sh gives following error:
I think it's problem using psql with -l key on line 14, which tries to execute select statement in bouncer mode.
After removing -l key scripts works fine for me.