Re: pgsql: RLS refactoring

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: RLS refactoring
Date: 2015-09-15 23:44:31
Message-ID: 20150915234431.GE2086@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

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?

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-09-15 23:47:31 Re: pgsql: RLS refactoring
Previous Message Tom Lane 2015-09-15 23:16:06 Re: pgsql: RLS refactoring

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-09-15 23:47:31 Re: pgsql: RLS refactoring
Previous Message Tom Lane 2015-09-15 23:16:06 Re: pgsql: RLS refactoring