Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've two questions when using pgagroal for pooling.
I've a machine that runs pgagroal, and another machine that runs the target PostgreSQL. When I connect from a client thru pgagraol, I see in
pg_stat_activity
that incoming connection address is the same of the client, while I was expecting it was the pgagroal machine address, since the connection is routed thru the pooler. Therefore, the only way to know if a connection is coming thru the pool is to inspect theapplication_name
, right? Is there any other way?Second question: is there a way to make pgagroal hold a connection is PostgreSQL is already at its
max_connections
limit? I mean, assume PostgreSQL hasmax_connections = 100
, can be pgagroal configured to handlemax_connection = 200
keeping incoming new request on hold (backlog
orblocking_timeout
may be)?Beta Was this translation helpful? Give feedback.
All reactions