Tom Lane wrote: > Michael Paquier <[email protected]> writes: > > On Tue, Jun 7, 2016 at 12:31 PM, Michael Paquier > > <[email protected]> wrote: > >> On Tue, Jun 7, 2016 at 12:28 AM, Alvaro Herrera > >> <[email protected]> wrote: > >>> Hmm, so we could solve the complaint by adding an ANALYZE. I'm open to > >>> that; other opinions? > > >> We could just enforce work_mem to 64kB and then reset it. > > > Or just set up work_mem to a wanted value for the duration of the run > > of psql_crosstab. Attached is my proposal. > > I liked the ANALYZE idea better; this seems pretty ad-hoc.
Done that way. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
