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

From Laetitia Avrot
Subject Re: Adding a pg_servername() function
Date
Msg-id CAB_COdhnETLz5r7VkAK8uziVJ_JnaR4MNS2Sub+vAKf9kjGPZA@mail.gmail.com
Whole thread Raw
In response to Re: Adding a pg_servername() function  (GF <phabriz@gmail.com>)
List pgsql-hackers


Le mer. 9 août 2023 à 17:32, GF <phabriz@gmail.com> a écrit :

Would it be less problematic if the function were called pg_gethostname()?
@Laetitia: why did you propose that name? maybe to avoid clashes with some extension out there?


I used that name to be kind of coherent with the inet_server_addr(), but I see now how it is a bad decision and can add confusion and wrong expectations. I think pg_gethostname() is better.

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Incorrect handling of OOM in WAL replay leading to data loss
Next
From: Richard Guo
Date:
Subject: Re: Support "Right Semi Join" plan shapes