Re: Postmaster Uptime

From: Neil Conway <neilc(at)samurai(dot)com>
To: Robert Treat <rtreat(at)webmd(dot)net>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Tim Knowles <tim(at)ametco(dot)co(dot)uk>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postmaster Uptime
Date: 2002-09-24 22:37:40
Message-ID: 87wupbypxn.fsf@mailbox.samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Robert Treat <rtreat(at)webmd(dot)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(at)samurai(dot)com> || PGP Key ID: DB3C29FC

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adam T. Gautier 2002-09-25 00:09:30 Foreign Keys
Previous Message Martijn van Oosterhout 2002-09-24 22:20:10 Re: problem with maintenance script and missing pg_clog files with pg 7.2.1