diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-04-05 09:06:32 +0200 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-04-05 09:06:32 +0200 |
commit | fb6fad6ef1bb94b5bfde01a83951ad7eda7764bc (patch) | |
tree | cefafcaff267e9366e53a08c533f852c2948b4bb /contrib/postgres_fdw/postgres_fdw.c | |
parent | 1993f3feb74f30e71c4139ace66ccc1e0225b4a8 (diff) | |
download | postgresql-fb6fad6ef1bb94b5bfde01a83951ad7eda7764bc.tar.gz postgresql-fb6fad6ef1bb94b5bfde01a83951ad7eda7764bc.zip |
Fix function reference in comment
Commit a61b1f748 renamed ExecCheckRTEPerms to ExecCheckPermissions
as part of a larger body of work, but missed this comment. Fix by
updating the referenced function name to make the comment the same
as other occurrences.
Author: Koshi Shibagaki <shibagaki.koshi@fujitsu.com>
Discussion: https://postgr.es/m/OS3PR01MB653359ACBE8DBBE29EE2BC71FA909@OS3PR01MB6533.jpnprd01.prod.outlook.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
-rw-r--r-- | contrib/postgres_fdw/postgres_fdw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/postgres_fdw/postgres_fdw.c b/contrib/postgres_fdw/postgres_fdw.c index f5926ab89df..d728bd70b31 100644 --- a/contrib/postgres_fdw/postgres_fdw.c +++ b/contrib/postgres_fdw/postgres_fdw.c @@ -1511,7 +1511,7 @@ postgresBeginForeignScan(ForeignScanState *node, int eflags) /* * Identify which user to do the remote access as. This should match what - * ExecCheckRTEPerms() does. + * ExecCheckPermissions() does. */ userid = OidIsValid(fsplan->checkAsUser) ? fsplan->checkAsUser : GetUserId(); if (fsplan->scan.scanrelid > 0) |