Re: [HACKERS] Patch to fix documentation about AFTER triggers

2017-05-16 Thread Robert Haas
On Mon, May 15, 2017 at 7:00 AM, Ashutosh Bapat wrote: > On Sat, May 13, 2017 at 2:45 AM, Paul Jungwirth > wrote: >> Here is a patch to amend the docs here: >> >> https://www.postgresql.org/docs/devel/static/plpgsql-trigger.html >>

Re: [HACKERS] Patch to fix documentation about AFTER triggers

2017-05-15 Thread Ashutosh Bapat
On Sat, May 13, 2017 at 2:45 AM, Paul Jungwirth wrote: > Here is a patch to amend the docs here: > > https://www.postgresql.org/docs/devel/static/plpgsql-trigger.html > > In the example for an AFTER trigger, you see this code: > > -- > -- Create a row in

[HACKERS] Patch to fix documentation about AFTER triggers

2017-05-12 Thread Paul Jungwirth
Here is a patch to amend the docs here: https://www.postgresql.org/docs/devel/static/plpgsql-trigger.html In the example for an AFTER trigger, you see this code: -- -- Create a row in emp_audit to reflect the operation performed on emp, -- make use of the special variable TG_OP to