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

Re: to find table stats for last update time.

From: sivajankan <siva_jankan(at)yahoo(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: to find table stats for last update time.
Date: 2011-07-11 14:47:29
Message-ID: 1310395649717-4575271.post@n5.nabble.com (view raw or flat)
Thread:
Lists: pgsql-novice
I got this help and it worked for me.

1. Find the file node name from the pg_class for your table
select relfilenode from pg_class where relname = 'tablename'

2. Locate the relfilenode file in your system. The last updated system time
of that file node is your last update time of your table. 

I hope it works for you.

SIVA JAN KAN


--
View this message in context: http://postgresql.1045698.n5.nabble.com/to-find-table-stats-for-last-update-time-tp2142054p4575271.html
Sent from the PostgreSQL - novice mailing list archive at Nabble.com.

In response to

pgsql-novice by date

Next:From: Roy's EmailDate: 2011-07-11 23:40:04
Subject: Creating DB programmatically?
Previous:From: JORGE MALDONADODate: 2011-07-10 18:08:25
Subject: pgpass.cong file becomes empty

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