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

finding information about tables and databases

From: Mija Lee <mija(at)scharp(dot)org>
To: pgsql-novice(at)postgresql(dot)org
Subject: finding information about tables and databases
Date: 2008-04-18 19:57:36
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Hi -

I'm looking for a variety of info about tables and databases in my 
system (pg 8.1.4, solaris 10).  I'm looking for

1. creation date of a database
2. creation date of a table
3. date of last modification to data in a table
4. date of last modification to the table structure

 From the postings and some testing it seems to me I can get (1) as the 
earliest date of any of the files in the subdirectory of the appropriate 
database oid and (3) from the time of the file as defined by the table oid.

My questions are: how to get (2) and (4), and is there any easier way to 
  get (1) and (2)?

Thanks in advance!

pgsql-novice by date

Next:From: Mike EllsworthDate: 2008-04-18 20:21:42
Subject: Expression on an Expression alias
Previous:From: Andrej Ricnik-BayDate: 2008-04-18 19:56:49
Subject: Re: Remote / network connection fails

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