Re: pgsql: Fill in no_priv_msg for publications and subscriptions

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Fill in no_priv_msg for publications and subscriptions
Date: 2017-01-27 14:09:10
Message-ID: 20170127140910.ayohsiojaxemel7p@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Peter Eisentraut wrote:
> On 1/26/17 4:46 PM, Alvaro Herrera wrote:
> > Peter Eisentraut wrote:
> >> Fill in no_priv_msg for publications and subscriptions
> >>
> >> Even though these messages are not used yet, we should keep the list
> >> complete.
> >
> > Hmm, should we add a StaticAssert() somewhere that lengthof(msg_no_priv)
> > is somehow consistent with the AclObjectKind enum? Probably in
> > aclcheck_error() itself.
>
> Maybe, but I think it's not that important, because an actual test of
> the permissions will easily show when something is missing or wrong.

True.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-01-27 15:02:12 pgsql: Improve comments about ProcessUtility's queryString parameter.
Previous Message Peter Eisentraut 2017-01-27 13:57:07 Re: pgsql: Fill in no_priv_msg for publications and subscriptions