Skip site navigation (1) Skip section navigation (2)

uptime function to postmaster

From: Euler Taveira de Oliveira <eulerto(at)yahoo(dot)com(dot)br>
To: pgsql-patches(at)postgresql(dot)org
Subject: uptime function to postmaster
Date: 2004-12-19 20:52:57
Message-ID: 20041219205257.51911.qmail@web52601.mail.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-patches
Hi,

This patch just implement a function that returns the uptime of the
postmaster. The docs are included too.
Another TODO item could be implement a function that returns the
startup time. If nobody objects I can do it.
Finally, I do not forbid non-superusers to execute it, but we can do
this if you prefer.
Comments?

Please review it and apply it.

PS> Hold it for 8.1.


=====
Euler Taveira de Oliveira
euler[at]yahoo_com_br


	
	
		
_______________________________________________________ 
Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet rápida e grátis

Attachment: uptime2.diff
Description: application/octet-stream (6.4 KB)

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2004-12-19 21:23:48
Subject: Re: uptime function to postmaster
Previous:From: Euler Taveira de OliveiraDate: 2004-12-19 20:41:01
Subject: DELETE FROM foo USING bar

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group