Re: Informacion del server postgres

From: Marco Antonio <marcoantoniofrias(at)gmail(dot)com>
To: Alexis Guevara <alexisguevara(at)hotmail(dot)com>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Informacion del server postgres
Date: 2011-01-18 03:24:19
Message-ID: AANLkTikPeyTrWYqAfEk21Wi_bJtghK5W6Xsm=1_E7=90@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

2011/1/17 Alexis Guevara <alexisguevara(at)hotmail(dot)com>:
> Agradezco cualquier ayuda sobre como encontrar información sobre el tiempo que
> tiene el server postgres corriendo.

Hola, la función pg_postmaster_start_time() te muestra la fecha y hora
del inicio de postgreSQL.

test=> select current_timestamp;
now
-------------------------------
2011-01-17 23:22:38.871148-04
(1 fila)

test=> select current_timestamp - pg_postmaster_start_time();
?column?
-----------------
00:10:31.287045
(1 fila)

Saludos y abrazos...

Marco Antonio Frias Butrón
Desarrollador de Software
Slackware Linux User #356229

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Gaston Rider 2011-01-19 14:25:13 Error al crear lenguaje
Previous Message Edwin Quijada 2011-01-17 22:09:42 RE: mail desde BD