Re: more RLS oversights - Mailing list pgsql-hackers

From Dean Rasheed
Subject Re: more RLS oversights
Date
Msg-id CAEZATCU-U7tcpec+1G0dsUBOeuMqMyMVcZTN9ybuqoZMs4iwPg@mail.gmail.com
Whole thread Raw
In response to Re: more RLS oversights  (Joe Conway <joe.conway@crunchydata.com>)
List pgsql-hackers
On 29 July 2015 at 16:52, Joe Conway <joe.conway@crunchydata.com> wrote:
> On 07/29/2015 02:41 AM, Dean Rasheed wrote:
>> I don't think there is any point in adding the new function
>> transformPolicyClause(), which is identical to transformWhereClause().
>> You can just use transformWhereClause() with EXPR_KIND_POLICY. It's
>> already used for lots of other expression kinds.
>
> Yeah, I was debating that. Although I do think the name
> transformWhereClause() is unfortunate. Maybe it ought to be renamed
> transformBooleanExpr() or something similar?
>

I expect it's probably being used by other people's code though, so
renaming it might cause pain for quite a few people.

Regards,
Dean



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Supporting TAP tests with MSVC and Windows
Next
From: Corey Huinker
Date:
Subject: Re: dblink: add polymorphic functions.