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

Appearance settings

Commit 29861e2

Browse filesBrowse files
committed
Update outdated comment in ApplyRetrieveRule
After a61b1f7. Author: Amit Langote <amitlangote09@gmail.com> Discussion: https://postgr.es/m/CA+HiwqGZm7hb2VAy8HGM22-fTDaQzqE6T=5GbAk=GkT9H0hJEg@mail.gmail.com
1 parent 5bdd0cf commit 29861e2
Copy full SHA for 29861e2

File tree

Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed

‎src/backend/rewrite/rewriteHandler.c

Copy file name to clipboardExpand all lines: src/backend/rewrite/rewriteHandler.c
+3-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.