Re: disallow SET WORK_MEM - Mailing list pgsql-general

From Tom Lane
Subject Re: disallow SET WORK_MEM
Date
Msg-id 2911.1323115257@sss.pgh.pa.us
Whole thread Raw
In response to Re: disallow SET WORK_MEM  (Bruce Momjian <bruce@momjian.us>)
List pgsql-general
Bruce Momjian <bruce@momjian.us> writes:
> Andreas Kretschmer wrote:
>> is it possible to disallow "set work_mem to ..." for regular
>> (non-superuser) users?

> We have discussed it and might offer that ability some day, but
> currently there is no way to do that.  There are so many ways to mess
> things up with a bad query that we are unclear if restricting work_mem
> is really helpful.

Preventing people from setting an appropriate work_mem might well create
more denial-of-service problems than it prevents.

            regards, tom lane

pgsql-general by date:

Previous
From: Andy Colson
Date:
Subject: Re: High-Concurrency GiST in postgreSQL
Next
From: "C. Mundi"
Date:
Subject: Re: High-Concurrency GiST in postgreSQL