Re: [PATCHES] Patch for Postmaster Uptime (from the TODO)

2005-02-24 Thread Bruce Momjian
Tom Lane wrote: > "Eric Crampton" <[EMAIL PROTECTED]> 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

Where to see the patch queue (was Re: [PATCHES] Patch for Postmaster Uptime (from the TODO))

2005-02-24 Thread Eric Crampton
On Feb 24, 2005, at 5:38 PM, Tom Lane wrote: "Eric Crampton" <[EMAIL PROTECTED]> 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 ret

Re: [PATCHES] Patch for Postmaster Uptime (from the TODO)

2005-02-24 Thread Tom Lane
"Eric Crampton" <[EMAIL PROTECTED]> 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 s

[PATCHES] Patch for Postmaster Uptime (from the TODO)

2005-02-24 Thread Eric Crampton
Hello hackers, 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_star