Yes,

In your session ....

set work_mem='4000MB';do rest of sql after .....

-----Original Message-----
From: pgsql-admin-ow...@postgresql.org 
[mailto:pgsql-admin-ow...@postgresql.org] On Behalf Of Dinesh Bhandary
Sent: Monday, June 13, 2011 11:29 AM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] changing work_mem

Hi All -

Is there a way to change work_mem for a session in postgres without restarting 
a database? Please let me know.

Thanks.
Dinesh

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

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

Reply via email to