Re: BEFORE UPDATE trigger on postgres_fdw table not work - Mailing list pgsql-hackers

From Etsuro Fujita
Subject Re: BEFORE UPDATE trigger on postgres_fdw table not work
Date
Msg-id CAPmGK16X4tt=S-J2gkVRZsH=Cz9AV0XRuZU2xzwx3Wj0_ET6Hg@mail.gmail.com
Whole thread Raw
In response to Re: BEFORE UPDATE trigger on postgres_fdw table not work  (Amit Langote <amitlangote09@gmail.com>)
List pgsql-hackers
Amit-san,

On Wed, Jun 12, 2019 at 3:33 PM Amit Langote <amitlangote09@gmail.com> wrote:
> On Wed, Jun 12, 2019 at 3:14 PM Etsuro Fujita <etsuro.fujita@gmail.com> wrote:
> > * Reworded the comments a bit in postgresPlanFoereignModify the
> > original patch modified
>
> +     * statement, and for UPDATE if BEFORE ROW UPDATE triggers since those
> +     * triggers might change values for non-target columns, in which case we
>
> First line seems to be missing a word or two.  Maybe:
>
> +     * statement, and for UPDATE if there are BEFORE ROW UPDATE triggers,
> +     * since those triggers might change values for non-target columns, in

Actually, I omitted such words to shorten the comment, but I think
this improves the readability, so I'll update the comment that way.

Thanks for the review!

Best regards,
Etsuro Fujita



pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: [PATCH] Speedup truncates of relation forks
Next
From: Noah Misch
Date:
Subject: Re: fix psql \conninfo & \connect when using hostaddr