Re: [HACKERS] Making server name part of the startup message - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] Making server name part of the startup message
Date
Msg-id fd324225-46cd-aaa7-9a3b-19fd4bb38ed6@2ndquadrant.com
Whole thread Raw
In response to [HACKERS] Making server name part of the startup message  (Satyanarayana Narlapuram <Satyanarayana.Narlapuram@microsoft.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Making server name part of the startup message
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] Typo in comment in ecpg datetime.c