Re: changing sort_mem on the fly?

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>
Cc: Lonni J Friedman <netllama(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: changing sort_mem on the fly?
Date: 2005-01-28 01:23:05
Message-ID: 20050128012305.GA48364@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jan 27, 2005 at 06:23:21PM -0600, Jim C. Nasby wrote:
>
> If you just want to change it for one connection, you can do 'set
> sort_mem=newvalue;'. You might need to be an admin to do it, though.

Ordinary users can set sort_mem/work_mem, at least in 8.0.0 and
earlier. Does setting that variable per session actually have an
effect, and if it does, does allowing ordinary users to set it
present a risk?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jonel Rienton 2005-01-28 01:25:51 Re: changing sort_mem on the fly?
Previous Message Pailloncy Jean-Gerard 2005-01-28 01:04:50 Re: Extended unit