Re: Very strange 'now' behaviour in nested triggers. - Mailing list pgsql-sql

From Roberto Mello
Subject Re: Very strange 'now' behaviour in nested triggers.
Date
Msg-id 20030728002754.GD10589@cc.usu.edu
Whole thread Raw
In response to Re: Very strange 'now' behaviour in nested triggers.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
On Sun, Jul 27, 2003 at 11:49:10AM -0400, Tom Lane wrote:
> 
> I put up a proposal in pgsql-hackers to change this behavior:
> http://archives.postgresql.org/pgsql-hackers/2003-07/msg00818.php
> If we made that change then the "wrong" way of defining the default
> would fail in an obvious fashion --- the 'now' would get reduced to a
> particular time immediately at CREATE TABLE.  Doubtless this would annoy
> some people, but the "right" way of defining the default isn't really
> any harder, and it would save folks from getting burnt in corner cases,
> like you were.
> 
> Any comments?

I think that is a preferred behavior.

-Roberto

-- 
+----|        Roberto Mello   -    http://www.brasileiro.net/  |------+
+       Computer Science Graduate Student, Utah State University      +
+       USU Free Software & GNU/Linux Club - http://fslc.usu.edu/     +
øøøøøøøøøøøøøøøøøøøøøøøø-----°*'.     (Explosive Tagline)


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Very strange 'now' behaviour in nested triggers.
Next
From: Oliver Duke-Williams
Date:
Subject: Can a table have a reference to itself?