[GENERAL] Converting AGE() to something human readable

Поиск
Список
Период
Сортировка
От Ron Johnson
Тема [GENERAL] Converting AGE() to something human readable
Дата
Msg-id aa55696d-11f3-c698-f992-5c119f404b55@cox.net
обсуждение исходный текст
Список pgsql-general
Hi,

How is this done in v8.4?

postgres=# SELECT datname, datfrozenxid, age(datfrozenxid)
postgres-# FROM pg_database;  datname  | datfrozenxid |    age
-----------+--------------+-----------
template1 |   3603334165 |  25735089
template0 |   3603470462 |  25598792
postgres  |   3576970250 |  52099004
TAPd      |   3489165829 | 139903425
(4 rows)


-- 
World Peace Through Nuclear Pacification



-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

В списке pgsql-general по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [GENERAL] xmin increasing within a transaction block?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] xmin increasing within a transaction block?