Re: PROXY protocol support
От | Magnus Hagander |
---|---|
Тема | Re: PROXY protocol support |
Дата | |
Msg-id | CABUevExMeBBE8aRg6N0gmSiNS8FagtEYSy9WYFGShDaGD-z6=Q@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: PROXY protocol support (Peter Eisentraut <peter.eisentraut@enterprisedb.com>) |
Ответы |
Re: PROXY protocol support
|
Список | pgsql-hackers |
On Wed, Mar 9, 2022 at 5:23 PM Peter Eisentraut <peter.eisentraut@enterprisedb.com> wrote: > > A general question on this feature: AFAICT, you can only send the proxy > header once at the beginning of the connection. So this wouldn't be of > use for PostgreSQL-protocol connection poolers (pgbouncer, pgpool), > where the same server connection can be used for clients from different > source addresses. Do I understand that correctly? Correct. It's only sent at connection startup, so if you're re-using the connection it would also re-use the IP address of the first one. For reusing the connection for multiple clients, you'd want something different, like a "priviliged mode in the tunnel" that the pooler can handle. -- Magnus Hagander Me: https://www.hagander.net/ Work: https://www.redpill-linpro.com/
В списке pgsql-hackers по дате отправления: