Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YQols-0006f2-Nq for pgsql-hackers@arkaria.postgresql.org; Thu, 26 Feb 2015 03:05:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YQolr-0005tw-N8 for pgsql-hackers@arkaria.postgresql.org; Thu, 26 Feb 2015 03:05:51 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YQolq-0005tp-2C for pgsql-hackers@postgresql.org; Thu, 26 Feb 2015 03:05:50 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YQoli-0007c3-P2 for pgsql-hackers@postgresql.org; Thu, 26 Feb 2015 03:05:48 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 574AF5F7BF; Wed, 25 Feb 2015 22:05:41 -0500 (EST) Date: Wed, 25 Feb 2015 22:05:41 -0500 From: Stephen Frost To: Peter Eisentraut Cc: Adam Brightwell , Noah Misch , Tom Lane , PostgreSQL Hackers Subject: Re: CATUPDATE confusion? Message-ID: <20150226030541.GG29780@tamriel.snowman.net> References: <20141227080926.GA2035611@tornado.leadboat.com> <20141227151034.GU3062@tamriel.snowman.net> <28382.1419703324@sss.pgh.pa.us> <20141227231829.GX3062@tamriel.snowman.net> <1952.1419722762@sss.pgh.pa.us> <20141227233150.GA2046947@tornado.leadboat.com> <54E65000.8030304@gmx.net> <20150225203955.GY29780@tamriel.snowman.net> <54EE8C6E.8090506@gmx.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/zLL6W406Aotuby1" Content-Disposition: inline In-Reply-To: <54EE8C6E.8090506@gmx.net> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-45-generic (x86_64) X-Uptime: 22:01:28 up 35 days, 2:50, 8 users, load average: 0.06, 0.10, 0.13 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org --/zLL6W406Aotuby1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Peter Eisentraut (peter_e@gmx.net) wrote: > On 2/25/15 3:39 PM, Stephen Frost wrote: > >> I'd get rid of that whole check, not just replace rolcatupdate by rols= uper. > >=20 > > Err, wouldn't this make it possible to grant normal users the ability to > > modify system catalogs? I realize that they wouldn't have that > > initially, but I'm not sure we want the superuser to be able to grant > > that to non-superusers.. >=20 > Why not? I thought we are trying to get rid of special superuser behavio= r. Agreed, but I'd also like to get rid of any reason, beyond emergency cases, for people to modify the catalog directly. There's a few places which we aren't yet doing that, but I'd rather fix those cases than encourage people to give out rights to modify them and end up making things like: "UPDATE pg_database SET datallowconn =3D false where datname =3D 'xyz';" an accepted interface. > After all, superusers can also make the other user a superuser to bypass > this issue. Sure, but that gives us the option to write off whatever happens next as not our fault. Thanks, Stephen --/zLL6W406Aotuby1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJU7o2EAAoJEO1sijiDR2RV710QAJ4S8EbDLKnO0Ez/tofF1Fyf hS0PsdU8AaGzoJaUdiMIHD6PrDwBWycdieVmB5d5R/9gi38KFT//RER5jhYoBEZt GDLoeHY9v/3uR8pMMLLAxrfM5ZuxeM1xcuvukYlVQflU/XiSZR+P723Yi3LiSAtB 200vw0WtXd6R2fbv0nSMIYO67JVTWJRHp8cYXXRwa8czCoAAhcXh4Yyd19lsCaTv u5tAAwM/nLW21PZenLY0XbeOnybfKffbwL1v6Hg5RmxLK7kDheSZm8iOnRbvRTfl yq6MdUr9OCUnhKEWZrFCsNEXLQov0MQEcaLZtH688MSIa29VooLXy7le2H+j3Lu5 c03+av0gKqbh+qfLJuLcdXGvj2mvPMetYQD4r2ql0H/7gsVm7upAisxTyNzpUYY4 ZTYMAs1lPUaBvmrVCv/ynrxyIHQr3t3Te8XvFZWomGTV4O/qXjZSx6vqjBNMrXfd YS3hxOkVghgFkvnqO2r7AQQ6BJmwXVdLMRDTw0inG2Oqtlvs3clkxf2FjdmGNBEK xuXDhGDI4cKFYmgXgQ2K8Z7c5Uez9epPBie5B04WVcBRdDHIh5zCk6zIg8WuKyW+ WUlkZsBvuqoopJjxf6nDsS5wPowz/aUcpI9i69rX3vsfRkAwOzJFP1YLpJnXsH0B WIxIurTiqxjoS7qh5oX3 =kpkn -----END PGP SIGNATURE----- --/zLL6W406Aotuby1--