Comment in preptlist.c
Comment in preptlist.c
While working on something else, I noticed $SUBJECT added by commit 86dc90056: * For UPDATE and DELETE queries, the targetlist must also contain "junk" * tlist entries needed to allow the executor to identify the rows to be * updated or deleted; for example, the ctid of a heap row. (The planner * adds these; they're not in what we receive from the planner/rewriter.) I think that “planner/rewriter” should be parser/rewriter. Attached is a patch for that. Best regards, Etsuro Fujita
Re: Comment in preptlist.c
От:
Richard Guo <guofenglinux@gmail.com>
Дата:
On Tue, Mar 21, 2023 at 5:41 PM Etsuro Fujita <etsuro.fujita@gmail.com> wrote:
While working on something else, I noticed $SUBJECT added by commit 86dc90056:
* For UPDATE and DELETE queries, the targetlist must also contain "junk"
* tlist entries needed to allow the executor to identify the rows to be
* updated or deleted; for example, the ctid of a heap row. (The planner
* adds these; they're not in what we receive from the planner/rewriter.)
I think that “planner/rewriter” should be parser/rewriter. Attached
is a patch for that.
Yes of course. It should be parser/rewriter here.
Thanks
Richard
Thanks
Richard
Re: Comment in preptlist.c
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Etsuro Fujita writes: > While working on something else, I noticed $SUBJECT added by commit 86dc90056: > * For UPDATE and DELETE queries, the targetlist must also contain "junk" > * tlist entries needed to allow the executor to identify the rows to be > * updated or deleted; for example, the ctid of a heap row. (The planner > * adds these; they're not in what we receive from the planner/rewriter.) > I think that “planner/rewriter” should be parser/rewriter. Attached > is a patch for that. Agreed, obviously a thinko :-( regards, tom lane
Re: Comment in preptlist.c
От:
David Rowley <dgrowleyml@gmail.com>
Дата:
On Tue, 21 Mar 2023 at 22:41, Etsuro Fujita wrote: > I think that “planner/rewriter” should be parser/rewriter. Attached > is a patch for that. Pushed. David
Re: Comment in preptlist.c
От:
Etsuro Fujita <etsuro.fujita@gmail.com>
Дата:
On Wed, Mar 22, 2023 at 4:59 AM David Rowley wrote: > On Tue, 21 Mar 2023 at 22:41, Etsuro Fujita wrote: > > I think that “planner/rewriter” should be parser/rewriter. Attached > > is a patch for that. > > Pushed. Thanks for picking this up, David! Thanks for looking, Tom and Richard! Best regards, Etsuro Fujita