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
Uh oh!
There was an error while loading. Please reload this page.
-
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_activitythat 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_connectionslimit? I mean, assume PostgreSQL hasmax_connections = 100, can be pgagroal configured to handlemax_connection = 200keeping incoming new request on hold (backlogorblocking_timeoutmay be)?Beta Was this translation helpful? Give feedback.
All reactions