Re: Rename Function: pg_postmaster_start_time

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Rename Function: pg_postmaster_start_time
Дата
Msg-id CAKFQuwbvbYj21cwfVhg97gzNnq5Ua60z2+5bjgZuZiEu=Pvtww@mail.gmail.com
обсуждение исходный текст
Ответ на RE: Rename Function: pg_postmaster_start_time  (Maiquel Grassi <grassi@hotmail.com.br>)
Список pgsql-hackers
On Tue, Nov 5, 2024 at 11:59 AM Maiquel Grassi <grassi@hotmail.com.br> wrote:
>> I suggest this change to simplify the terminology and make the function
>> name more intuitive, as "postgres" directly refers to the database server.
>> This seems more suitable to me.

>Seems like an unnecessary change of a publicly facing feature. IMO
>stability wins out over any debatable improvement the change may bring.

There are several parts of the system where the term 'postmaster' appears and could potentially be changed to 'postgres'. In most cases, I agree with you: keeping the current term is a more cautious approach and ensures stability. However, in the case of this function, the adjustment is quite simple and doesn’t involve significant changes to the files; it’s really just a matter of 'replacing' the term.

The ease or difficulty of making the change in the server has no meaningful bearing on whether breaking this public API is warranted or not.

David J.

В списке pgsql-hackers по дате отправления: