Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit09b2047

Browse files
alvherrepull[bot]
authored andcommitted
Update outdated comment in ApplyRetrieveRule
Aftera61b1f7.Author: Amit Langote <amitlangote09@gmail.com>Discussion:https://postgr.es/m/CA+HiwqGZm7hb2VAy8HGM22-fTDaQzqE6T=5GbAk=GkT9H0hJEg@mail.gmail.com
1 parent0ec582f commit09b2047

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/backend/rewrite/rewriteHandler.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1884,8 +1884,9 @@ ApplyRetrieveRule(Query *parsetree,
18841884
rte->inh= false;/* must not be set for a subquery */
18851885

18861886
/*
1887-
* We move the view's permission check data down to its rangetable. The
1888-
* checks will actually be done against the OLD entry therein.
1887+
* We move the view's permission check data down to its RTEPermissionInfo
1888+
* contained in the view query, which the OLD entry in its range table
1889+
* points to.
18891890
*/
18901891
subrte=rt_fetch(PRS2_OLD_VARNO,rule_action->rtable);
18911892
Assert(subrte->relid==relation->rd_id);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp