Re: timestamp of a row

From: Marco Bomben <marco(dot)bomben(at)gmail(dot)com>
To: Thom Brown <thombrown(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: timestamp of a row
Date: 2010-05-24 12:35:06
Message-ID: AANLkTinrm5jqmfO6EODhp3IKL3bW6ntiUXhdO0ISrSYq@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Dear Thom,
thanks for the suggestion. I will look for 'trigger'
into documentation.

Regards,
Marco

On 24 May 2010 13:09, Marco Bomben <marco(dot)bomben(at)gmail(dot)com> wrote:
> > Dear all,
> > I look into mails-archive but I didn't find any hint for
> this
> > question: is there a way to retrieve the timestamp of the creation/last
> > modification of a row in a table?
> >
> > Many thanks and regards,
> > Marco Bomben
> >
>
> I don't believe there is. I wanted to do something similar, but the
> only way I found of doing it was to create a trigger on the table
> which updates a timestamp column on the row being updated.
>
> Regards
>
> Thom
>

--
"Human existence is based upon two pillars: Compassion and knowledge.
Compassion without knowledge is ineffective; knowledge without compassion is
inhuman."
(Victor Frederick Weisskopf)
----------------------------------------------
http://marco.bomben.googlepages.com/

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Mladen Gogala 2010-05-24 12:36:34 Re: timestamp of a row
Previous Message Mladen Gogala 2010-05-24 12:34:53 Re: Best starter book