Re: Trigger.. AFTER and BEFORE with specific column changed
От
Adrian Klaver
Тема
Re: Trigger.. AFTER and BEFORE with specific column changed
Дата
Msg-id
4F79AA03.9050501@gmail.com
Ответ на
Список
Дерево обсуждения
Trigger.. AFTER and BEFORE with specific column changed Albert <oo_O2_oo@hotmail.com>
Re: Trigger.. AFTER and BEFORE with specific column changed Albert <oo_O2_oo@hotmail.com>
Re: Trigger.. AFTER and BEFORE with specific column changed Tom Lane <tgl@sss.pgh.pa.us>
Re: Trigger.. AFTER and BEFORE with specific column changed Adrian Klaver <adrian.klaver@gmail.com>
Re: Trigger.. AFTER and BEFORE with specific column changed "Daniel Verite" <daniel@manitou-mail.org>
Re: Trigger.. AFTER and BEFORE with specific column changed Adrian Klaver <adrian.klaver@gmail.com>
On 04/01/2012 10:10 PM, Albert wrote: > *i get:* > > Syntax error at or near 'WHEN' > LINE 1: ... check_update AFTER UPDATE ON accounts FOR EACH ROW WHEN > (OLD.balance IS DISTINCT FROM NEW.balance) .... Hmmm. So two questions: What happens if you copy the example in the docs exactly and use NEW.* and OLD.*? What is the table definition for accounts? > > -- > View this message in context: http://postgresql.1045698.n5.nabble.com/Trigger-AFTER-and-BEFORE-with-specific-column-changed-tp5610712p5611501.html > Sent from the PostgreSQL - general mailing list archive at Nabble.com. > -- Adrian Klaver adrian.klaver@gmail.com
В списке pgsql-general по дате отправления
От: Mike Roest
Дата: