On Mon, Jun 13, 2011 at 10:29 AM, Dinesh Bhandary <dbhandary@xxxxxxx> wrote: > Hi All - > > Is there a way to change work_mem for a session in postgres without > restarting a database? Please let me know. In addition the standard set work_mem='512MB'; listed above, you can make such changes sticky for a user or a database: alter user bubba set work_mem='1000MB'; alter database reports set work_mem='256MB'; -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin