Re: Very strange 'now' behaviour in nested triggers.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dmitry Tkach <dmitry(at)openratings(dot)com>
Cc: Denis Zaitsev <zzz(at)anda(dot)ru>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Very strange 'now' behaviour in nested triggers.
Date: 2003-07-28 17:12:53
Message-ID: 15800.1059412373@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc pgsql-sql

Dmitry Tkach <dmitry(at)openratings(dot)com> writes:
> Does it mean that the *application* (not the database) user would then
> have to know the exact specific way to represent the current time in his
> data entry form?
> Such an application looks like (how do I say it politely?) not a very
> user-friendly one to me :-)

So? "now()" is certainly not more user-friendly than "now". My point
is that wherever you are making the decision that you want to input
current time, there may be layers between you and the database that will
only want to pass data-value strings and not function invocations.

regards, tom lane

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dmitry Tkach 2003-07-28 17:18:58 Re: Very strange 'now' behaviour in nested triggers.
Previous Message Dmitry Tkach 2003-07-28 17:06:27 Re: Very strange 'now' behaviour in nested triggers.

Browse pgsql-sql by date

  From Date Subject
Next Message Dmitry Tkach 2003-07-28 17:18:58 Re: Very strange 'now' behaviour in nested triggers.
Previous Message Dmitry Tkach 2003-07-28 17:06:27 Re: Very strange 'now' behaviour in nested triggers.