Re: Auto-updated fields

From: Hannu Krosing <hannu(at)krosing(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Tino Wildenhain <tino(at)wildenhain(dot)de>, David Fetter <david(at)fetter(dot)org>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Auto-updated fields
Date: 2008-05-08 20:40:17
Message-ID: 1210279217.6593.1.camel@huvostro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On Thu, 2008-05-08 at 00:41 -0400, Tom Lane wrote:
> Tino Wildenhain <tino(at)wildenhain(dot)de> writes:
> > I may be wrong but my feeling is, not to much weirdness in the core
> > please :)
>
> +1 ... we have wasted more than enough man-hours trying to get the magic
> "serial" type to play nicely. If I had it to do over, we'd never have
> put that in at all. The underlying mechanisms are perfectly good ---
> it's the idea that the user shouldn't need to know what they're doing
> that causes problems.

This kind of hiding will mostly hit the Leaky Abstraction "pattern"

http://www.joelonsoftware.com/articles/LeakyAbstractions.html

http://en.wikipedia.org/wiki/Leaky_abstraction

----------------
Hannu

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2008-05-08 21:28:58 Re: Posting to hackers and patches lists
Previous Message Simon Riggs 2008-05-08 19:56:39 Re: Updatable views