Re: installcheck failing on psql_crosstab - Mailing list pgsql-hackers

From Tom Lane
Subject Re: installcheck failing on psql_crosstab
Date
Msg-id 1974.1465309818@sss.pgh.pa.us
Whole thread Raw
In response to Re: installcheck failing on psql_crosstab  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: installcheck failing on psql_crosstab  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Michael Paquier <michael.paquier@gmail.com> writes:
> On Tue, Jun 7, 2016 at 12:31 PM, Michael Paquier
> <michael.paquier@gmail.com> wrote:
>> On Tue, Jun 7, 2016 at 12:28 AM, Alvaro Herrera
>> <alvherre@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.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: pg9.6 segfault using simple query (related to use fk for join estimates)
Next
From: Amit Kapila
Date:
Subject: Re: Why we don't have checksums on clog files