Re: plpgsql-trigger.html: Format TG_ variables as table (patch)
Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
From: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
To: Christoph Berg <myon@debian.org>
Cc: Daniel Gustafsson <daniel@yesql.se>, Peter Eisentraut
<peter.eisentraut@enterprisedb.com>, PostgreSQL Hackers
<pgsql-hackers@lists.postgresql.org>
Date: 2022-08-31T14:19:50Z
Lists: pgsql-hackers
Christoph Berg <myon@debian.org> writes: > Re: To Daniel Gustafsson >> "string containing" is again pretty boilerplatish, how about just >> "contains"? > > Actually, just omitting the whole prefix works best. > > TG_WHEN (text) > > BEFORE, AFTER, or INSTEAD OF, depending on the trigger's definition. The attached patch does not reflect this, did you attach an old version? > I also shortened some "name of table" to just "table". Since the data > type is "name", it's clear what "table" means. I think it reads better with the definite article and initial capital, e.g. "The table that triggered ….". > <variablelist> > <varlistentry> > - <term><varname>NEW</varname></term> > + <term><varname>NEW</varname> (record)</term> The type names should still be wrapped in <type>, like they were before. - ilmari
Commits
-
doc: Use more concise wording for pl/pgSQL TG_ variables
- b7f3981756d3 16.0 landed