pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fill in no_priv_msg for publications and subscriptions
4+ messages / 3 participants
[nested] [flat]

* pgsql: Fill in no_priv_msg for publications and subscriptions
@ 2017-01-26 20:38 Peter Eisentraut <peter_e@gmx.net>
  2017-01-26 21:46 ` Re: pgsql: Fill in no_priv_msg for publications and subscriptions Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Peter Eisentraut @ 2017-01-26 20:38 UTC (permalink / raw)
  To: pgsql-committers

Fill in no_priv_msg for publications and subscriptions

Even though these messages are not used yet, we should keep the list
complete.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e630faacd8a0c998db105a7d3fca063eb29b0eea

Modified Files
--------------
src/backend/catalog/aclchk.c | 4 ++++
1 file changed, 4 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pgsql: Fill in no_priv_msg for publications and subscriptions
  2017-01-26 20:38 pgsql: Fill in no_priv_msg for publications and subscriptions Peter Eisentraut <peter_e@gmx.net>
@ 2017-01-26 21:46 ` Alvaro Herrera <alvherre@2ndquadrant.com>
  2017-01-27 13:57   ` Re: pgsql: Fill in no_priv_msg for publications and subscriptions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Alvaro Herrera @ 2017-01-26 21:46 UTC (permalink / raw)
  To: Peter Eisentraut <peter_e@gmx.net>; +Cc: 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


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pgsql: Fill in no_priv_msg for publications and subscriptions
  2017-01-26 20:38 pgsql: Fill in no_priv_msg for publications and subscriptions Peter Eisentraut <peter_e@gmx.net>
  2017-01-26 21:46 ` Re: pgsql: Fill in no_priv_msg for publications and subscriptions Alvaro Herrera <alvherre@2ndquadrant.com>
@ 2017-01-27 13:57   ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  2017-01-27 14:09     ` Re: pgsql: Fill in no_priv_msg for publications and subscriptions Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Peter Eisentraut @ 2017-01-27 13:57 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@2ndquadrant.com>; +Cc: 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


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pgsql: Fill in no_priv_msg for publications and subscriptions
  2017-01-26 20:38 pgsql: Fill in no_priv_msg for publications and subscriptions Peter Eisentraut <peter_e@gmx.net>
  2017-01-26 21:46 ` Re: pgsql: Fill in no_priv_msg for publications and subscriptions Alvaro Herrera <alvherre@2ndquadrant.com>
  2017-01-27 13:57   ` Re: pgsql: Fill in no_priv_msg for publications and subscriptions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
@ 2017-01-27 14:09     ` Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Alvaro Herrera @ 2017-01-27 14:09 UTC (permalink / raw)
  To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>; +Cc: 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


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2017-01-27 14:09 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-01-26 20:38 pgsql: Fill in no_priv_msg for publications and subscriptions Peter Eisentraut <peter_e@gmx.net>
2017-01-26 21:46 ` Alvaro Herrera <alvherre@2ndquadrant.com>
2017-01-27 13:57   ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
2017-01-27 14:09     ` Alvaro Herrera <alvherre@2ndquadrant.com>

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