Re: sort_mem param of postgresql.conf

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sam Mason <sam(at)samason(dot)me(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: sort_mem param of postgresql.conf
Date: 2008-11-13 19:42:35
Message-ID: 20913.1226605355@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sam Mason <sam(at)samason(dot)me(dot)uk> writes:
> On Thu, Nov 13, 2008 at 02:59:34PM +0000, Grzegorz Jaaakiewicz wrote:
>> so how do I change it back to default (without knowing what the previous val
>> was). I suppose having it in a transaction won't do :P

> If by "default" you mean whatever was in the config file, you can do:
> set work_mem = default;
> A transaction followed by ROLLBACK appears to work as well.

Other alternatives worth reading about:
RESET work_mem
SET LOCAL work_mem

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Wilson 2008-11-13 20:09:15 Re: Table bloat in 8.3
Previous Message Erik Jones 2008-11-13 19:31:51 Re: Upgrading side by side in Gentoo