Error in trigger example

Started by David Fetteralmost 21 years ago4 messagespatches
Jump to latest
#1David Fetter
david@fetter.org

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!

Attachments:

fix_now.difftext/plain; charset=us-asciiDownload+2-2
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: David Fetter (#1)
Re: Error in trigger example

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

#3David Fetter
david@fetter.org
In reply to: Tom Lane (#2)
Re: Error in trigger example

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!

#4Neil Conway
neilc@samurai.com
In reply to: Tom Lane (#2)
Re: Error in trigger example

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