Thread

  1. Converting AGE() to something human readable

    Ron Johnson <ron.l.johnson@cox.net> — 2017-11-06T14:14:19Z

    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