Re: Rename Function: pg_postmaster_start_time

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: Maiquel Grassi <grassi(at)hotmail(dot)com(dot)br>, Michael Paquier <michael(at)paquier(dot)xyz>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Rename Function: pg_postmaster_start_time
Date: 2024-11-06 21:33:24
Message-ID: 3295844.1730928804@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Daniel Gustafsson <daniel(at)yesql(dot)se> writes:
> Looking at similar functions it's clear they don't use the pg_postgres_ prefix,
> like for example pg_conf_load_time. Should this if so be pg_start_time?

No, because it's not clear what start time you're talking about;
aside from the postmaster, this could plausibly refer to the
session start, transaction start, or query start time.

Like David, I'm not seeing a good argument for changing anything
here.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2024-11-06 22:07:35 optimize file transfer in pg_upgrade
Previous Message Robert Haas 2024-11-06 21:21:21 Re: FW: Building Postgres 17.0 with meson