Re: [COMMITTERS] pgsql: Fill in no_priv_msg for publications andsubscriptions - Mailing list pgsql-committers

From Peter Eisentraut
Subject Re: [COMMITTERS] pgsql: Fill in no_priv_msg for publications andsubscriptions
Date
Msg-id 1eaee423-9eaa-23f3-b1ca-4531905c30a2@2ndquadrant.com
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Fill in no_priv_msg for publications andsubscriptions  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: [COMMITTERS] pgsql: Fill in no_priv_msg for publications andsubscriptions
List pgsql-committers
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.

--
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Orthography fixes for new castNode() macro.
Next
From: Alvaro Herrera
Date:
Subject: Re: [COMMITTERS] pgsql: Fill in no_priv_msg for publications andsubscriptions