From: | Satyanarayana Narlapuram <Satyanarayana(dot)Narlapuram(at)microsoft(dot)com> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Making server name part of the startup message |
Date: | 2017-06-18 16:31:38 |
Message-ID: | DM2PR03MB4167FF1487DC9A970A175B491C70@DM2PR03MB416.namprd03.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
-----Original Message-----
From: Andres Freund [mailto:andres(at)anarazel(dot)de]
Sent: Friday, June 16, 2017 10:48 AM
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Satyanarayana Narlapuram <Satyanarayana(dot)Narlapuram(at)microsoft(dot)com>; pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Making server name part of the startup message
On 2017-06-15 09:43:13 -0400, Tom Lane wrote:
> Satyanarayana Narlapuram <Satyanarayana(dot)Narlapuram(at)microsoft(dot)com> writes:
> > 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(at)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.
>
> We don't actually have any concept of a server name at the moment, and
> it isn't very clear what introducing that concept would buy.
> Please explain.
cluster_name could be what's meant?
Andres, thank you! It is database cluster name as you mentioned.
- Andres
From | Date | Subject | |
---|---|---|---|
Next Message | narlapurams | 2017-06-18 17:15:20 | Re: Making server name part of the startup message |
Previous Message | Tom Lane | 2017-06-18 15:42:14 | Re: Preliminary results for proposed new pgindent implementation |