Kohei KaiGai <kaigai(at)kaigai(dot)gr(dot)jp> writes:
> One possible idea not to store the flag in RangeTblEntry is to utilize
> rte->relid to show the relation-id of the source view, when rtekind is
> RTE_SUBQUERY; that enables to pull the security_barrier flag in
> executor stage.
Maybe I'm confused here, but what does the executor need the information
for? I thought this was a planner problem.
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Kohei KaiGai||Date: 2011-09-26 20:41:30|
|Subject: Re: [v9.2] Fix Leaky View Problem|
|Previous:||From: Tom Lane||Date: 2011-09-26 20:39:16|
|Subject: Re: bug of recovery? |