Re: Adding a pg_servername() function
Matthias van de Meent <boekewurm+postgres@gmail.com>
From: Matthias van de Meent <boekewurm+postgres@gmail.com>
To: Laetitia Avrot <laetitia.avrot@gmail.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2023-08-03T09:31:01Z
Lists: 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)