Re: RLS policy dump/restore failure due to elided type-casts

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: RLS policy dump/restore failure due to elided type-casts
Дата
Msg-id 24234.1461205047@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: RLS policy dump/restore failure due to elided type-casts  (Karl Czajkowski <karlcz@isi.edu>)
Список pgsql-general
Karl Czajkowski <karlcz@isi.edu> writes:
> On Apr 20, Tom Lane modulated:
>> Just out of curiosity, why are you doing it like that, and not simply
>> USING ('example attribute value' = ANY (current_attributes()))
>> It seems like you're going out of your way to complicate matters.

> Going out of my way to complicate matters is my specialty. :-)

;-).  Nonetheless, I agree this is a bug in ruleutils -- it should be
able to emit the expression in a way that will re-parse the same way.
Will look into fixing it.

            regards, tom lane


В списке pgsql-general по дате отправления:

Предыдущее
От: Karl Czajkowski
Дата:
Сообщение: Re: RLS policy dump/restore failure due to elided type-casts
Следующее
От:
Дата:
Сообщение: Is it possible to call Postgres directly?