pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Fill in no_priv_msg for publications and subscriptions
Date: Fri, 27 Jan 2017 08:57:07 -0500
Message-ID: <1eaee423-9eaa-23f3-b1ca-4531905c30a2@2ndquadrant.com> (raw)
In-Reply-To: <20170126214644.neowuvlg2lz3vaas@alvherre.pgsql>
References: <20170126214644.neowuvlg2lz3vaas@alvherre.pgsql>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
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 (4+ messages)  latest in thread

Message-ID: <1eaee423-9eaa-23f3-b1ca-4531905c30a2@2ndquadrant.com>
Permalink:  ../1eaee423-9eaa-23f3-b1ca-4531905c30a2@2ndquadrant.com/
Also on:    postgresql.org/message-id/1eaee423-9eaa-23f3-b1ca-4531905c30a2@2ndquadrant.com

 · 

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: peter.eisentraut@2ndquadrant.com, alvherre@2ndquadrant.com
  Subject: Re: pgsql: Fill in no_priv_msg for publications and subscriptions
  In-Reply-To: <1eaee423-9eaa-23f3-b1ca-4531905c30a2@2ndquadrant.com>
  References: <20170126214644.neowuvlg2lz3vaas@alvherre.pgsql> <1eaee423-9eaa-23f3-b1ca-4531905c30a2@2ndquadrant.com>

* 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