Re: last UPDATE or INSERT time of a table? (not a row!)

From: Louis-David Mitterrand <cunctator(at)apartia(dot)ch>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: last UPDATE or INSERT time of a table? (not a row!)
Date: 2001-02-16 08:10:53
Message-ID: 20010216091052.A6320@apartia.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Feb 15, 2001 at 04:45:02PM -0500, Joseph Shraibman wrote:
> > Yes, I have read that thread qnd implemented a similar trigger in the
> > past.
> >
> > What I meant to do is detect a change at the _table_ level, not the row
> > level. Is there such a field somewhere in the pg_tables?
> >
>
> You could check the date on the file. But a vacuum might alter that.

Hmm, I see many files in /var/lib/postgres/data/base but how do I
recognize which file contains what table?

--
ARICIE: De votre injuste haine il n'a pas hrit ;
Il ne me traitait point comme une criminelle.
(Phdre, J-B Racine, acte 5, scne 3)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Frank Joerdens 2001-02-16 08:12:41 Re: Re: PostgreSQL vs Oracle vs DB2 vs MySQL - Which should I use?
Previous Message Anand Raman 2001-02-16 07:11:10 Re: Transactions in JDBC