pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Cc: Jan Wieck <jan@wi3ck.info>
Subject: Re: I propose killing PL/Tcl's "modules" infrastructure
Date: Mon, 27 Feb 2017 07:48:13 -0500
Message-ID: <18547.1488199693@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+Tgmoa5R2__OLUVm2jLj1NEL3Cj5gZbmkvJPmQXyWQdSZUrEQ@mail.gmail.com>
References: <22067.1488046447@sss.pgh.pa.us>
	<234c68e3-47ee-4db1-fe6d-6a5de56575b6@2ndQuadrant.com>
	<23184.1488048288@sss.pgh.pa.us>
	<33fe0208-74df-1a03-08af-9a4f0d1ed14d@2ndQuadrant.com>
	<24478.1488050485@sss.pgh.pa.us>
	<45faa542-212a-5225-2b62-c80a8df2d0fd@2ndQuadrant.com>
	<18606.1488138882@sss.pgh.pa.us>
	<CA+Tgmoa5R2__OLUVm2jLj1NEL3Cj5gZbmkvJPmQXyWQdSZUrEQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Robert Haas <robertmhaas@gmail.com> writes:
> On Mon, Feb 27, 2017 at 1:24 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> * I'm not terribly comfortable about what the permissions levels of the
>> GUCs ought to be. ... Maybe we'd better make them both SUSET.

> Making them SUSET sounds like a usability fail to me.  I'm not sure
> how bad the security risks of NOT making them SUSET are, but I think
> if we find that SUSET is required for safety then we've squeezed most
> of the value out of the feature.

Well, the feature it's replacing (autoload an "unknown" module) had to be
squeezed down to being effectively superuser-only, so we're not really
losing anything compared to where we are now.  And the more I think about
it, the less I think we can introduce a new security-critical GUC and just
leave it as USERSET.

			regards, tom lane


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



view thread (17+ messages)  latest in thread

Message-ID: <18547.1488199693@sss.pgh.pa.us>
Permalink:  ../18547.1488199693@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18547.1488199693@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, andrew.dunstan@2ndquadrant.com, jan@wi3ck.info
  Subject: Re: I propose killing PL/Tcl's "modules" infrastructure
  In-Reply-To: <18547.1488199693@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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