Fix a typo in rewriteHandler.c - Mailing list pgsql-hackers

From Sho Kato (Fujitsu)
Subject Fix a typo in rewriteHandler.c
Date
Msg-id TYCPR01MB68499042A33BC32241193AAF9F5BA@TYCPR01MB6849.jpnprd01.prod.outlook.com
Whole thread Raw
Responses Re: Fix a typo in rewriteHandler.c
List pgsql-hackers
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
     * columns to be affected.
     *
     * Note that this destroys the resno ordering of the targetlist, but that
     * will be fixed when we recurse through rewriteQuery, which will invoke
     * rewriteTargetListIU again on the updated targetlist.
     */
    if (parsetree->commandType != CMD_DELETE)
    {
        foreach(lc, parsetree->targetList)

s/rewriteQuery/RewriteQuery

regards,
Sho Kato

Attachment

pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: Replace (GUC_UNIT_MEMORY | GUC_UNIT_TIME) with GUC_UNIT in guc.c
Next
From: Vladimir Churyukin
Date:
Subject: Re: Bypassing shared_buffers