Re: [HACKERS] Making server name part of the startup message

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] Making server name part of the startup message
Дата
Msg-id fd324225-46cd-aaa7-9a3b-19fd4bb38ed6@2ndquadrant.com
обсуждение исходный текст
Ответ на [HACKERS] Making server name part of the startup message  (Satyanarayana Narlapuram <Satyanarayana.Narlapuram@microsoft.com>)
Список pgsql-hackers
On 6/15/17 03:20, Satyanarayana Narlapuram wrote:
> As a cloud service, Azure Database for PostgreSQL uses a gateway proxy
> to route connections to a node hosting the actual server. To do that,
> the proxy needs to know the name of the server it tries to locate. As a
> work-around we currently overload the username parameter to pass in the
> server name using username@servername convention. It is purely a
> convention that our customers need to follow and understand. We would
> like to extend the PgSQL connection protocol to add an optional
> parameter for the server name to help with this scenario.

I think this could be useful if it's something like what HTTP uses.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Making server name part of the startup message
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] Typo in comment in ecpg datetime.c