On Sun, Sep 25, 2011 at 3:25 PM, Kohei KaiGai <kaigai(at)kaigai(dot)gr(dot)jp> wrote:
>> I'm a bit nervous about storing security_barrier in the RTE. What
>> happens to stored rules if the security_barrier option gets change
> The rte->security_barrier is evaluated when a query referencing security
> views get expanded. So, rte->security_barrier is not stored to catalog.
I think it is. If you create a view that involves an RTE, the node
tree is going to get stored in pg_rewrite.ev_action. And it's going
to include the security_barrier attribute, because you added outfuncs
support for it...
The Enterprise PostgreSQL Company
In response to
pgsql-hackers by date
|Next:||From: Tom Lane||Date: 2011-09-26 01:07:14|
|Subject: contrib/sepgsql regression tests are a no-go|
|Previous:||From: Robert Haas||Date: 2011-09-26 00:46:22|
|Subject: Re: index-only scans|