fix a comment

wangyukun@fujitsu.com <wangyukun@fujitsu.com>

From: "wangyukun@fujitsu.com" <wangyukun@fujitsu.com>
To: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2021-04-23T06:42:15Z
Lists: pgsql-hackers

Attachments

Hi, Hackers:

In function ExecGetTriggerResultRel, we can see comments:

> /* First, search through the query result relations */ ...
> /*
> * Third, search through the result relations that were created during
> * tuple routing, if any.
> */

But the 'Second' was deleted since commit 1375422c78.

Update the 'Third' to 'Second', please see the attachment.

Thoughts?

Best wishes
Yukun Wang

Commits

  1. Fix come comments in execMain.c

  2. Create ResultRelInfos later in InitPlan, index them by RT index.