pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: RLS refactoring
Date: Tue, 15 Sep 2015 19:47:31 -0400
Message-ID: <28741.1442360851@sss.pgh.pa.us> (raw)
In-Reply-To: <20150915234431.GE2086@alap3.anarazel.de>
References: <E1ZbwEg-0004Ct-Qc@gemulon.postgresql.org>
	<22678.1442348981@sss.pgh.pa.us>
	<20150915220002.GB3685@tamriel.snowman.net>
	<20150915221655.GK88970@alvherre.pgsql>
	<27213.1442356184@sss.pgh.pa.us>
	<20150915224851.GD3685@tamriel.snowman.net>
	<28196.1442358966@sss.pgh.pa.us>
	<20150915234431.GE2086@alap3.anarazel.de>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Andres Freund <andres@anarazel.de> writes:
> On 2015-09-15 19:16:06 -0400, Tom Lane wrote:
>> readfuncs.c doesn't actually stop to verify that the field name in stored
>> rules is what it expects.

> This reminds me: Is there a reason for that? ISTM that adding checks for
> the field names would make error messages about borked stored trees much
> easier to understand?

Dunno, how often have you seen such an error message, and how much would
it help anyway?  I'm not sure it'd be worth the code and cycles to check.

			regards, tom lane


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (13+ messages)  latest in thread

Message-ID: <28741.1442360851@sss.pgh.pa.us>
Permalink:  ../28741.1442360851@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28741.1442360851@sss.pgh.pa.us

 · 

reply

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-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, sfrost@snowman.net, alvherre@2ndquadrant.com
  Subject: Re: pgsql: RLS refactoring
  In-Reply-To: <28741.1442360851@sss.pgh.pa.us>
  References: <E1ZbwEg-0004Ct-Qc@gemulon.postgresql.org> <22678.1442348981@sss.pgh.pa.us> <20150915220002.GB3685@tamriel.snowman.net> <20150915221655.GK88970@alvherre.pgsql> <27213.1442356184@sss.pgh.pa.us> <20150915224851.GD3685@tamriel.snowman.net> <28196.1442358966@sss.pgh.pa.us> <20150915234431.GE2086@alap3.anarazel.de> <28741.1442360851@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