RE: Rename Function: pg_postmaster_start_time

From: Maiquel Grassi <grassi(at)hotmail(dot)com(dot)br>
To: Michael Paquier <michael(at)paquier(dot)xyz>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: RE: Rename Function: pg_postmaster_start_time
Date: 2024-11-06 19:28:33
Message-ID: CP4P284MB1968DD763492114BCFD1657BEC532@CP4P284MB1968.BRAP284.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>This function has this name since 600da67fbe5e back from 2008.
>Changing that 16 years later will break things.

Certainly, there are more considerations to take into account
than I initially realized. One possibility would be to create an
alias (or synonym) for the function "pg_postmaster_start_time",
naming it "pg_postgres_start_time". This way, the name change
could occur gradually and strategically over the coming years,
without immediate impact. I believe this approach could be
viable to facilitate a future transition without abrupt breaks.
Maiquel

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2024-11-06 19:50:41 Re: Rename Function: pg_postmaster_start_time
Previous Message Jan Wieck 2024-11-06 19:22:10 Re: Commit Timestamp and LSN Inversion issue