Thread: Error in trigger example

Error in trigger example

From
David Fetter
Date:
Folks,

Please find enclosed a patch that fixes the trigger example in plpgsql
(emp_stamp).

Cheers,
D
--
David Fetter david@fetter.org http://fetter.org/
phone: +1 510 893 6100   mobile: +1 415 235 3778

Remember to vote!

Attachment

Re: Error in trigger example

From
Tom Lane
Date:
David Fetter <david@fetter.org> writes:
> Please find enclosed a patch that fixes the trigger example in plpgsql
> (emp_stamp).

Uh ... that example is not broken.

If we were going to change it, I'd favor current_timestamp over
either Postgres-ism.

            regards, tom lane

Re: Error in trigger example

From
David Fetter
Date:
On Thu, Oct 20, 2005 at 08:03:13PM -0400, Tom Lane wrote:
> David Fetter <david@fetter.org> writes:
> > Please find enclosed a patch that fixes the trigger example in plpgsql
> > (emp_stamp).
>
> Uh ... that example is not broken.
>
> If we were going to change it, I'd favor current_timestamp over
> either Postgres-ism.

CURRENT_TIMESTAMP works.  Shall I resend?

Cheers,
D
--
David Fetter david@fetter.org http://fetter.org/
phone: +1 510 893 6100   mobile: +1 415 235 3778

Remember to vote!

Re: Error in trigger example

From
Neil Conway
Date:
On Thu, 2005-20-10 at 20:03 -0400, Tom Lane wrote:
> If we were going to change it, I'd favor current_timestamp over
> either Postgres-ism.

Committed.

-Neil