What version of PostgreSQL are you using? sort_mem is now called work_mem (to better reflect the reality that it isn't just used in sorting, I think), and has been for some time. -- Peter Geoghegan http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general