Re: Postmaster Uptime - Mailing list pgsql-general

From Neil Conway
Subject Re: Postmaster Uptime
Date
Msg-id 87wupbypxn.fsf@mailbox.samurai.com
Whole thread Raw
In response to Re: Postmaster Uptime  (Robert Treat <rtreat@webmd.net>)
Responses Re: Postmaster Uptime  ("Tim Knowles" <tim@ametco.co.uk>)
List pgsql-general
Robert Treat <rtreat@webmd.net> writes:
> Could we store this as an environment variable that gets set once
> postmaster leaves "start up" mode?

Whose environment? If the postgres user, how would another user access
it? And if only the postgres user could access it, it's not clear to
me why that would have any advantages over just storing it in a static
C variable.

More generally, why is this functionality needed in the first place?

Cheers,

Neil

--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: problem with maintenance script and missing pg_clog files with pg 7.2.1
Next
From: "Adam T. Gautier"
Date:
Subject: Foreign Keys