8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bdd0cf commit 29861e2Copy full SHA for 29861e2
src/backend/rewrite/rewriteHandler.c
@@ -1884,8 +1884,9 @@ ApplyRetrieveRule(Query *parsetree,
1884
rte->inh = false; /* must not be set for a subquery */
1885
1886
/*
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.
+ * We move the view's permission check data down to its RTEPermissionInfo
+ * contained in the view query, which the OLD entry in its range table
1889
+ * points to.
1890
*/
1891
subrte = rt_fetch(PRS2_OLD_VARNO, rule_action->rtable);
1892
Assert(subrte->relid == relation->rd_id);
0 commit comments