Re: more RLS oversights

Поиск
Список
Период
Сортировка
От Dean Rasheed
Тема Re: more RLS oversights
Дата
Msg-id CAEZATCU-U7tcpec+1G0dsUBOeuMqMyMVcZTN9ybuqoZMs4iwPg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: more RLS oversights  (Joe Conway <joe.conway@crunchydata.com>)
Список 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 по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Supporting TAP tests with MSVC and Windows
Следующее
От: Corey Huinker
Дата:
Сообщение: Re: dblink: add polymorphic functions.