Re: Adding a pg_servername() function

2023-08-09 Thread GF
Hi everybody, On 09.08.23 08:42, Laetitia Avrot wrote: > I agree that the feature I'm suggesting could be done with a few tricks. > I meant to simplify the life of the user by providing a simple new > feature. (Also, I might have trust issues with DNS due to several past > production disasters.)

Re: Adding a pg_servername() function

2023-08-09 Thread GF
On Wed, 9 Aug 2023 at 16:05, Tom Lane wrote: > Peter Eisentraut writes: > > On 09.08.23 08:42, Laetitia Avrot wrote: > >> My question is very simple: Do you oppose having this feature in > Postgres? > > > I think this is pretty harmless(*) and can be useful, so it seems > > reasonable to pursue.