Re: [v9.2] Fix Leaky View Problem - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [v9.2] Fix Leaky View Problem
Date
Msg-id 921.1317069625@sss.pgh.pa.us
Whole thread Raw
In response to Re: [v9.2] Fix Leaky View Problem  (Kohei KaiGai <kaigai@kaigai.gr.jp>)
Responses Re: [v9.2] Fix Leaky View Problem
List pgsql-hackers
Kohei KaiGai <kaigai@kaigai.gr.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: bug of recovery?
Next
From: Kohei KaiGai
Date:
Subject: Re: [v9.2] Fix Leaky View Problem