pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Schaber <schabi@logix-tt.com>
To: Peter Manchev <pmanchev@hotmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Compute hash of a table?
Date: Wed, 03 May 2006 10:07:35 +0200
Message-ID: <445864C7.1070102@logix-tt.com> (raw)
In-Reply-To: <BAY101-F1120BA806F30837AA2161BC5B60@phx.gbl>
References: <BAY101-F1120BA806F30837AA2161BC5B60@phx.gbl>

Hi, Peter,

Peter Manchev wrote:

> Is it possible to get the last time(stamp) when the content of a given
> table in pgsql has changed???

My solution would be to add a trigger to the table which updates a
timestamp in a second table on every insert/update/delete.


HTH,
Markus



-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org



view thread (2+ messages)

Message-ID: <445864C7.1070102@logix-tt.com>
Permalink:  ../445864C7.1070102@logix-tt.com/
Also on:    postgresql.org/message-id/445864C7.1070102@logix-tt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: schabi@logix-tt.com, pmanchev@hotmail.com
  Subject: Re: Compute hash of a table?
  In-Reply-To: <445864C7.1070102@logix-tt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox