Re: New Role drop with Grant/Revokes stop working after subsequent runs

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: AC Gomez <antklc(at)gmail(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: New Role drop with Grant/Revokes stop working after subsequent runs
Date: 2020-05-07 15:16:10
Message-ID: 20200507151609.GC13712@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Greetings,

* David G. Johnston (david(dot)g(dot)johnston(at)gmail(dot)com) wrote:
> On Wed, May 6, 2020 at 5:05 PM AC Gomez <antklc(at)gmail(dot)com> wrote:
> > I suppose the main question is, why would a bunch of grant and revoke
> > commands run and not do anything, not even throw an error?
>
> Maybe its a bug? - I doubt this kind of manipulation is all that common or
> tested given the presence of what seems to be a superior alternative.

Didn't read through the rest of this, but for this part- the SQL spec
has some rather odd requirements when it comes to GRANT/REVOKEs and what
happens if no GRANT or REVOKE is able to be performed (like: don't throw
an error).

Thanks,

Stephen

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2020-05-07 15:46:51 Re: Explain plan changes - IN CLAUSE ( Passing direct values Vs INNER Query )
Previous Message Stephen Frost 2020-05-07 15:14:24 Re: Lock Postgres account after X number of failed logins?