Update outdated comment in ApplyRetrieveRule
After a61b1f74823c. Author: Amit Langote <amitlangote09@gmail.com> Discussion: https://postgr.es/m/CA+HiwqGZm7hb2VAy8HGM22-fTDaQzqE6T=5GbAk=GkT9H0hJEg@mail.gmail.com
This commit is contained in:
parent
5bdd0cfb91
commit
29861e228a
@ -1884,8 +1884,9 @@ ApplyRetrieveRule(Query *parsetree,
|
|||||||
rte->inh = false; /* must not be set for a subquery */
|
rte->inh = false; /* must not be set for a subquery */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We move the view's permission check data down to its rangetable. The
|
* We move the view's permission check data down to its RTEPermissionInfo
|
||||||
* checks will actually be done against the OLD entry therein.
|
* contained in the view query, which the OLD entry in its range table
|
||||||
|
* points to.
|
||||||
*/
|
*/
|
||||||
subrte = rt_fetch(PRS2_OLD_VARNO, rule_action->rtable);
|
subrte = rt_fetch(PRS2_OLD_VARNO, rule_action->rtable);
|
||||||
Assert(subrte->relid == relation->rd_id);
|
Assert(subrte->relid == relation->rd_id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user