Re: plpgsql-trigger.html: Format TG_ variables as table (patch) - Mailing list pgsql-hackers

From Christoph Berg
Subject Re: plpgsql-trigger.html: Format TG_ variables as table (patch)
Date
Msg-id YxCud27+m201QaZv@msg.df7cb.de
Whole thread Raw
In response to Re: plpgsql-trigger.html: Format TG_ variables as table (patch)  (Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>)
Responses Re: plpgsql-trigger.html: Format TG_ variables as table (patch)
List pgsql-hackers
Re: Dagfinn Ilmari Mannsåker
> > 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?

Forgot to git commit before exporting the patch, thanks for catching!

> > 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 ….".

Since that's not a complete sentence anyway, I think "The" isn't
necessary.

> > -     <term><varname>NEW</varname></term>
> > +     <term><varname>NEW</varname> (record)</term>
> 
> The type names should still be wrapped in <type>, like they were before.

Updated.

Thanks,
Christoph

Attachment

pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: POC: GROUP BY optimization
Next
From: Ranier Vilela
Date:
Subject: Re: Reducing the chunk header sizes on all memory context types