Re: LIMIT not showing all results - Mailing list pgsql-general

From Andreas Kretschmer
Subject Re: LIMIT not showing all results
Date
Msg-id d3fda33a-6ca3-01e9-7462-31ba0002ac7f@a-kretschmer.de
Whole thread Raw
In response to Re: LIMIT not showing all results  (Casey Deccio <casey@deccio.net>)
List pgsql-general

Am 05.03.19 um 19:41 schrieb Casey Deccio:
>
>> On Mar 5, 2019, at 10:37 AM, Andreas Kretschmer 
>> <andreas@a-kretschmer.de <mailto:andreas@a-kretschmer.de>> wrote:
>>
>> no, but you can set enable_indexscan to off and maybe also 
>> enable_bitmapscan to off to force the planner to choose a seq-scan.
>> I'm sure in this case you will get a correct result.
>
> So this (setting enable_indexscan to off) might be a short-term fix, 
> while reindexing is the more robust fix?
>

yes, sure. The index is corrupt.


Regards, Andreas

-- 
2ndQuadrant - The PostgreSQL Support Company.
www.2ndQuadrant.com



pgsql-general by date:

Previous
From: Andreas Kretschmer
Date:
Subject: Re: [External] LIMIT not showing all results
Next
From: Tom Lane
Date:
Subject: Re: [External] LIMIT not showing all results