Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jWiFy-0003Z2-0P for pgsql-general@arkaria.postgresql.org; Thu, 07 May 2020 15:16:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jWiFw-0004XF-Vb for pgsql-general@arkaria.postgresql.org; Thu, 07 May 2020 15:16:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jWiFw-0004V9-Nl for pgsql-general@lists.postgresql.org; Thu, 07 May 2020 15:16:12 +0000 Received: from tamriel.snowman.net ([96.255.250.162]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jWiFu-0002P0-MK for pgsql-general@lists.postgresql.org; Thu, 07 May 2020 15:16:12 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 1B8BA5F7A3; Thu, 7 May 2020 11:16:10 -0400 (EDT) Date: Thu, 7 May 2020 11:16:10 -0400 From: Stephen Frost To: "David G. Johnston" Cc: AC Gomez , "pgsql-generallists.postgresql.org" Subject: Re: New Role drop with Grant/Revokes stop working after subsequent runs Message-ID: <20200507151609.GC13712@tamriel.snowman.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="x6xK9fUDGUdTBgu/" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --x6xK9fUDGUdTBgu/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * David G. Johnston (david.g.johnston@gmail.com) wrote: > On Wed, May 6, 2020 at 5:05 PM AC Gomez 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? >=20 > 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 --x6xK9fUDGUdTBgu/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJetCY5AAoJEO1sijiDR2RVk+8P/31uCX5woVA3clMLLtB7zYPm him7GsHo/odRn1wrpzkxEpADhY1Sf8DihiF86Le6ZRBRkA00MfE/TaNeV8y+gjMp yOzVJgnZUNlEvWEUWmWfWXoip0R9UJN2tPj1Bi8VAGmYxyxBXETAWykceY7UyOd4 2p+MlPb7WHdxim+tyK9YE3lOU9XWtumfLNQRj073eQdlYtCS5TBjENkN+SBEnqgW +xjI0x37d7wfeTRg7jR4tM/cDYS79IGObsWBjNRz/mvBdgI+DDfYGsVS53EZEkJR bRXBtGE052CYiNsHvh39zvhAzwMaFpFou2zMiMMM8PKlGqL+eFAelK47Otep9Ko/ vQxWTH8m6XWZrfj1MGNP+Ra4yGe9j191jDOI82uaTaAI4Qz2OGGWCoXQcping75m ZC6bUng9SuktEWDZPVYHzFz5VEzCiYvP9l7U69KLAcdCkE222d1rIePqEzYlDS0D zGEYvgHotjyqIhObAT3NJU3k+qjSabWc4wMkxrCmg5gf5L57xa1wVsjP8S4USnL6 mRW9jdwsL8JEJW0SmImLMrfGlitPGf+xxWPC+r/Uqbl88d1ZVWyEeFaZL5tpkG0V YTzBuXK1C6BniP1VuvnI7rbf1M92lp7swPvPR/yOfPtz/c9R4aLBGfYBauHoMyRF KNeYm7YcbugP0F3QATE8 =GmIu -----END PGP SIGNATURE----- --x6xK9fUDGUdTBgu/--