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 5640.1320261515@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:
> The reason why I redefined the relid of RangeTblEntry is to avoid
> the problem when security_barrier attribute get changed by concurrent
> transactions between rewriter and planenr stage.

This is complete nonsense.  If the information is being injected into
the querytree by the rewriter, it's sufficient to assume that it's up to
date.  Were it not so, we'd have problems with CREATE OR REPLACE RULE,
too.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: unite recovery.conf and postgresql.conf
Next
From: Andrew Dunstan
Date:
Subject: Re: superusers are members of all roles?