Re: Adding a pg_servername() function

From: Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>
To: Laetitia Avrot <laetitia(dot)avrot(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Adding a pg_servername() function
Date: 2023-08-03 09:31:01
Message-ID: CAEze2WhPA6mOwA65diEoSVZODN_VTHi3L1Lf7uX1j_nXDRS9=Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 3 Aug 2023 at 10:37, Laetitia Avrot <laetitia(dot)avrot(at)gmail(dot)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)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message tender wang 2023-08-03 09:34:40 Re: [BUG] Fix DETACH with FK pointing to a partitioned table fails
Previous Message Hayato Kuroda (Fujitsu) 2023-08-03 09:28:33 RE: [PoC] pg_upgrade: allow to upgrade publisher node