Fix code comment in postgres_fdw.c

Koshi Shibagaki (Fujitsu) <shibagaki.koshi@fujitsu.com>

From: "Koshi Shibagaki (Fujitsu)" <shibagaki.koshi@fujitsu.com>
To: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2023-04-05T05:27:48Z
Lists: pgsql-hackers

Attachments

Hi Hackers,

This Koshi Shibagaki.
I found out that there is a mistake written in contrib/postgres_fdw/postgres_fdw.c.

Patch file is attached.

The non-existent function name " ExecCheckRTEPerms " was written in 
the comment in postgresBeginForeignScan.
This mistake is considered to have occurred at commit ID: a61b1f74.
The function name was changed to "ExecCheckPermissions" and comments 
related to this change was fixed, 
however only the comment in postgresBeginForeignScan was not fixed.

Best

-----------------------------------------------
Fujitsu Limited
Koshi Shibagaki
shibagaki.koshi@fujitsu.com

Commits

  1. Fix function reference in comment