use custom auth query for pg pooler
This commit is contained in:
@@ -9,6 +9,7 @@ spec:
|
|||||||
type: rw
|
type: rw
|
||||||
pgbouncer:
|
pgbouncer:
|
||||||
poolMode: session
|
poolMode: session
|
||||||
|
authQuery: "SELECT usename, passwd FROM pg_catalog.pg_shadow WHERE usename = $1"
|
||||||
parameters:
|
parameters:
|
||||||
max_client_conn: "1000"
|
max_client_conn: "1000"
|
||||||
default_pool_size: "10"
|
default_pool_size: "10"
|
||||||
Reference in New Issue
Block a user