| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | escpg(at)eonomine(dot)com |
| Cc: | pgsql-patches(at)postgresql(dot)org |
| Subject: | Re: Patch for Postmaster Uptime (from the TODO) |
| Date: | 2005-02-25 01:38:50 |
| Message-ID: | 29374.1109295530@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
"Eric Crampton" <escpg(at)eonomine(dot)com> writes:
> I noticed in the TODO that there is an item requesting a function which
> returns the uptime of the postmaster. I've wanted that as well. So, I've
> added just such a thing: server_start_time(). This function returns the
> time when the postmaster was started; a simple now() - server_start_time()
> returns the uptime.
Isn't there one of these in the patch queue already?
The patch as given won't work on Windows, because it depends on fork
inheritance of the value. I think the previous patcher fixed that.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Eric Crampton | 2005-02-25 01:54:50 | Where to see the patch queue (was Re: Patch for Postmaster Uptime (from the TODO)) |
| Previous Message | Tom Lane | 2005-02-25 01:34:01 | Re: Where are we on stored procedures? |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Eric Crampton | 2005-02-25 01:54:50 | Where to see the patch queue (was Re: Patch for Postmaster Uptime (from the TODO)) |
| Previous Message | Bruce Momjian | 2005-02-25 00:48:05 | Re: New FAQ questions. minor fixes |