Re: [DOCS] Typo in trigger docs - Mailing list pgsql-docs

From Euler Taveira
Subject Re: [DOCS] Typo in trigger docs
Date
Msg-id CAHE3wgjo1HY2AhgJJ2sFpAqmOqLMXve+Ad0sPbpRnzLfeV8+DA@mail.gmail.com
Whole thread Raw
In response to [DOCS] Typo in trigger docs  (igorludi@gmail.com)
List pgsql-docs
2017-05-23 7:40 GMT-03:00 <igorludi@gmail.com>:

I believe that (&quot;statement&quot; is wrong):

&quot;Row-level BEFORE triggers fire immediately before a particular row is
operated on, while row-level AFTER triggers fire at the end of the statement
(but before any statement-level AFTER triggers).&quot;


should be:

&quot;Row-level BEFORE triggers fire immediately before a particular row is
operated on, while row-level AFTER triggers fire after the row has been
operated on (but before any statement-level AFTER triggers).&quot;

The documentation is correct. Execute the attached script to understand how trigger visibility works. AFTER row-level triggers will see all data changes [1].


[1] https://www.postgresql.org/docs/9.6/static/trigger-datachanges.html


--
   Euler Taveira                                   Timbira - http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento
Attachment

pgsql-docs by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: [DOCS] Legal Notice page in 10 not "backwards compatible" inonline docs
Next
From: Magnus Hagander
Date:
Subject: Re: [DOCS] Legal Notice page in 10 not "backwards compatible" inonline docs