Re: [PATCHES] uptime function to postmaster

2005-06-06 Thread Tom Lane
Bruce Momjian pgman@candle.pha.pa.us writes: I think we should return intervals only when we can't return meaningful timestamp values. I don't have any logic to back up that opinion, though. It's easy: a value measured as an interval will be obsolete by the time it's delivered to the client. A

Re: [PATCHES] uptime function to postmaster

2005-01-22 Thread Bruce Momjian
This has been saved for the 8.1 release: http://momjian.postgresql.org/cgi-bin/pgpatches2 --- Euler Taveira de Oliveira wrote: Bruce Momjian wrote: This has been saved for the 8.1 release:

Re: [PATCHES] uptime function to postmaster

2005-01-20 Thread Euler Taveira de Oliveira
Bruce Momjian wrote: This has been saved for the 8.1 release: http:/momjian.postgresql.org/cgi-bin/pgpatches2 --- Hi, I redo this patch adding the funcionality that Matthias implemented (starttime).

Re: [PATCHES] uptime function to postmaster

2005-01-03 Thread Bruce Momjian
This has been saved for the 8.1 release: http:/momjian.postgresql.org/cgi-bin/pgpatches2 --- Euler Taveira de Oliveira wrote: Hi, This patch just implement a function that returns the uptime of the

Re: [PATCHES] uptime function to postmaster

2004-12-21 Thread Euler Taveira de Oliveira
Hi, This patch just implement a function that returns the uptime of the postmaster. Doesn't work in EXEC_BACKEND case. Sorry. I'll fix this. Patch updated. I improved the function output too. Comments? = Euler Taveira de Oliveira euler[at]yahoo_com_br

Re: [PATCHES] uptime function to postmaster

2004-12-21 Thread Alvaro Herrera
On Wed, Dec 22, 2004 at 12:57:34AM -0300, Euler Taveira de Oliveira wrote: Hi, Patch updated. I improved the function output too. Is it really a good idea to have a new file for only one function? We regularly see complaints about not wanting to do basic source code cleanup because not wanting

Re: [PATCHES] uptime function to postmaster

2004-12-21 Thread Euler Taveira de Oliveira
Hi Alvaro, Patch updated. I improved the function output too. Is it really a good idea to have a new file for only one function? We regularly see complaints about not wanting to do basic source code cleanup because not wanting to disrupt CVS history ... I couldn't see a good place to

Re: [PATCHES] uptime function to postmaster

2004-12-19 Thread Tom Lane
Euler Taveira de Oliveira [EMAIL PROTECTED] writes: This patch just implement a function that returns the uptime of the postmaster. Doesn't work in EXEC_BACKEND case. regards, tom lane ---(end of broadcast)--- TIP 1: