Re: Fix a typo in rewriteHandler.c

2023-06-15 Thread Amit Langote
On Fri, Jun 16, 2023 at 10:25 AM Amit Langote wrote: > On Thu, Jun 15, 2023 at 5:07 PM Sho Kato (Fujitsu) > wrote: > > I've attached the patch for the following rewriteTargetView comments. > > > > s/rewriteQuery/RewriteQuery > > Good catch and thanks for the patch. Will push shortly. Done.

Re: Fix a typo in rewriteHandler.c

2023-06-15 Thread Amit Langote
Hello, On Thu, Jun 15, 2023 at 5:07 PM Sho Kato (Fujitsu) wrote: > > Hi, > > I've attached the patch for the following rewriteTargetView comments. > > > Assert(parsetree->resultRelation == new_rt_index); > > /* > * For INSERT/UPDATE we must also update resnos in the targetlist to

Fix a typo in rewriteHandler.c

2023-06-15 Thread Sho Kato (Fujitsu)
Hi, I've attached the patch for the following rewriteTargetView comments. Assert(parsetree->resultRelation == new_rt_index); /* * For INSERT/UPDATE we must also update resnos in the targetlist to refer * to columns of the base relation, since those indicate the target *