Re: pg_starttime() - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: pg_starttime()
Date
Msg-id 200506061608.j56G8ug19775@candle.pha.pa.us
Whole thread Raw
In response to Re: pg_starttime()  (Andreas Pflug <pgadmin@pse-consulting.de>)
Responses Re: pg_starttime()  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Andreas Pflug wrote:
> Bruce Momjian wrote:
> > Do we want to make this superuser-only?
>
> Yes, random seeds or so might be deducted from it.
>
> I'd also propose to name this function pg_postmaster_starttime() to
> clarify its purpose. There's already a function of that name in the
> (non-contrib) admin package with the very same result while implemented
> differently.

Agreed, or pg_server_start_time()?  Which is better?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Server instrumentation: pg_terminate_backend, pg_reload_conf
Next
From: David Fetter
Date:
Subject: Re: regexp_replace