Tom Lane wrote:
> Michael Paquier <michael.paqu...@gmail.com> writes:
> > On Tue, Jun 7, 2016 at 12:31 PM, Michael Paquier
> > <michael.paqu...@gmail.com> wrote:
> >> On Tue, Jun 7, 2016 at 12:28 AM, Alvaro Herrera
> >> <alvhe...@2ndquadrant.com> 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 (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to