Wrong 'Special local variables PG_' prefix in 'Trigger procedures' section

Started by PG Bug reporting formabout 8 years ago2 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/10/static/plpgsql-trigger.html
Description:

The documentation (10 and 9.6) contains a typo when mentioning 'Special
local variables PG_something'. Instead it should be 'Special local variables
TG_something' as it is for trigger local variables.

Examples just below all start with TG_ so it should be obvious.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: PG Bug reporting form (#1)
Re: Wrong 'Special local variables PG_' prefix in 'Trigger procedures' section

=?utf-8?q?PG_Doc_comments_form?= <noreply@postgresql.org> writes:

Page: https://www.postgresql.org/docs/10/static/plpgsql-trigger.html

The documentation (10 and 9.6) contains a typo when mentioning 'Special
local variables PG_something'. Instead it should be 'Special local variables
TG_something' as it is for trigger local variables.

Ugh, yeah, that's a thinko isn't it. Will fix, thanks for noticing!

regards, tom lane