Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 9A7E2B5DBD1 for ; Fri, 13 May 2011 06:42:06 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 12201-05 for ; Fri, 13 May 2011 09:41:59 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pz0-f46.google.com (mail-pz0-f46.google.com [209.85.210.46]) by mail.postgresql.org (Postfix) with ESMTP id 69FE1B5DBC2 for ; Fri, 13 May 2011 06:41:59 -0300 (ADT) Received: by pzk9 with SMTP id 9so1097819pzk.19 for ; Fri, 13 May 2011 02:41:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.48.3 with SMTP id h3mr1927580pbn.505.1305279718799; Fri, 13 May 2011 02:41:58 -0700 (PDT) Received: by 10.68.48.68 with HTTP; Fri, 13 May 2011 02:41:58 -0700 (PDT) X-Originating-IP: [66.215.95.51] In-Reply-To: <201105131028.15694.andres@anarazel.de> References: <201105131028.15694.andres@anarazel.de> Date: Fri, 13 May 2011 02:41:58 -0700 Message-ID: Subject: Re: setting configuration values inside a stored proc From: Samuel Gendler To: Andres Freund Cc: pgsql-performance@postgresql.org Content-Type: multipart/alternative; boundary=bcaec5314709f8badc04a3251d93 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201105/201 X-Sequence-Number: 43710 --bcaec5314709f8badc04a3251d93 Content-Type: text/plain; charset=ISO-8859-1 On Fri, May 13, 2011 at 1:28 AM, Andres Freund wrote: > Hi, > > On Friday, May 13, 2011 01:10:19 AM Samuel Gendler wrote: > > I would suggest doing ALTER FUNCTION blub(blarg) SET work_mem = '512MB'; > > Ah! That's perfect and very convenient. Thanks. --sam --bcaec5314709f8badc04a3251d93 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Fri, May 13, 2011 at 1:28 AM, Andres = Freund <andres@a= narazel.de> wrote:
Hi,

On Friday, May 13, 2011 01:10:19 AM Samuel Gendler wrote:

I would suggest doing ALTER FUNCTION blub(blarg) SET work_mem = =3D '512MB';


Ah! =A0= That's perfect and very convenient. =A0Thanks.

--sam


--bcaec5314709f8badc04a3251d93--