Re: [SQL] Update timestamp on update

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Williams <jeffw(at)globaldial(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org, pgsql-docs(at)postgresql(dot)org
Subject: Re: [SQL] Update timestamp on update
Date: 2005-10-13 02:52:04
Message-ID: 16842.1129171924@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-sql

Jeff Williams <jeffw(at)globaldial(dot)com> writes:
> Thanks. Triggers was my first thought, but chapter 35 on Triggers didn't
> really indicate a way I could do this easily and scared me with a lot of
> c code.

Yeah. This is a documentation issue that's bothered me for awhile.
The problem is that we treat the PL languages as add-ons and therefore
the documentation of the "core" system shouldn't rely on them ... but
that leaves us presenting C-code triggers as the only examples in
chapter 35. There is a paragraph in there suggesting you go look at
the PL languages first, but obviously it's not getting the job done.

Anybody have a better idea?

regards, tom lane

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Michael Glaesemann 2005-10-13 03:07:47 Re: Update timestamp on update
Previous Message Jeff Williams 2005-10-13 02:42:06 Re: Update timestamp on update

Browse pgsql-sql by date

  From Date Subject
Next Message Stewart Ben (RBAU/EQS4) * 2005-10-13 02:56:53 Re: Update timestamp on update
Previous Message Jeff Williams 2005-10-13 02:42:06 Re: Update timestamp on update