Re: [PATCH] Fix leaky VIEWs for RLS - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] Fix leaky VIEWs for RLS
Date
Msg-id 25135.1275627433@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH] Fix leaky VIEWs for RLS  (KaiGai Kohei <kaigai@ak.jp.nec.com>)
Responses Re: [PATCH] Fix leaky VIEWs for RLS
Re: [PATCH] Fix leaky VIEWs for RLS
Re: [PATCH] Fix leaky VIEWs for RLS
List pgsql-hackers
KaiGai Kohei <kaigai@ak.jp.nec.com> writes:
> (2010/06/04 11:55), Robert Haas wrote:
>> A (very) important part of this problem is determining which quals are
>> safe to push down.
>> 
> At least, I don't have an idea to distinguish trusted functions from
> others without any additional hints, because we support variable kind
> of PL languages. :(

The proposal some time back in this thread was to trust all built-in
functions and no others.  That's a bit simplistic, no doubt, but it
seems to me to largely solve the performance problem and to do so with
minimal effort.  When and if you get to a solution that's committable
with respect to everything else, it might be time to think about
more flexible answers to that particular point.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: SET CONSTRAINTS todo
Next
From: "Gnanakumar"
Date:
Subject: Re: PITR Recovery Question