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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Karl Czajkowski <karlcz(at)isi(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: RLS policy dump/restore failure due to elided type-casts
Date: 2016-04-21 02:17:27
Message-ID: 24234.1461205047@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Karl Czajkowski <karlcz(at)isi(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message david 2016-04-21 02:27:15 Is it possible to call Postgres directly?
Previous Message Karl Czajkowski 2016-04-21 01:47:36 Re: RLS policy dump/restore failure due to elided type-casts