From: Tom Lane <tgl@sss.pgh.pa.us>
To: Karl Czajkowski <karlcz@isi.edu>
Cc: pgsql-general@postgresql.org
Subject: Re: RLS policy dump/restore failure due to elided type-casts
Date: Wed, 20 Apr 2016 22:17:27 -0400
Message-ID: <24234.1461205047@sss.pgh.pa.us> (raw)
In-Reply-To: <20160421014736.GD7976@moraine.isi.edu>
References: <20160421001832.GB7976@moraine.isi.edu>
<18967.1461201440@sss.pgh.pa.us>
<20160421014736.GD7976@moraine.isi.edu>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, karlcz@isi.edu
Subject: Re: RLS policy dump/restore failure due to elided type-casts
In-Reply-To: <24234.1461205047@sss.pgh.pa.us>
References: <20160421001832.GB7976@moraine.isi.edu> <18967.1461201440@sss.pgh.pa.us> <20160421014736.GD7976@moraine.isi.edu> <24234.1461205047@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox