Re: pgsql: Fill in no_priv_msg for publications and subscriptions

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Fill in no_priv_msg for publications and subscriptions
Date: 2017-01-26 21:46:44
Message-ID: 20170126214644.neowuvlg2lz3vaas@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2017-01-27 00:57:52 pgsql: Add castNode(type, ptr) for safe casting between NodeTag based t
Previous Message Alvaro Herrera 2017-01-26 21:07:02 pgsql: Add missed update in expected file