Re: Adding a pg_servername() function - Mailing list pgsql-hackers

From Matthias van de Meent
Subject Re: Adding a pg_servername() function
Date
Msg-id CAEze2WhPA6mOwA65diEoSVZODN_VTHi3L1Lf7uX1j_nXDRS9=Q@mail.gmail.com
Whole thread Raw
In response to Adding a pg_servername() function  (Laetitia Avrot <laetitia.avrot@gmail.com>)
Responses Re: Adding a pg_servername() function
List pgsql-hackers
On Thu, 3 Aug 2023 at 10:37, Laetitia Avrot <laetitia.avrot@gmail.com> wrote:
>
> Dear Hackers,
>
> One of my customers suggested creating a function that could return the server's hostname.

Mostly for my curiosity: What would be their use case?
I only see limited usability, considering that the local user's
hostname can be very different from the hostname used in the url that
connects to that PostgreSQL instance.

Kind regards,

Matthias van de Meent
Neon (https://neon.tech)



pgsql-hackers by date:

Previous
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: [PoC] pg_upgrade: allow to upgrade publisher node
Next
From: tender wang
Date:
Subject: Re: [BUG] Fix DETACH with FK pointing to a partitioned table fails