pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Kretschmer <andreas@a-kretschmer.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: LIMIT not showing all results
Date: Tue, 5 Mar 2019 19:44:05 +0100
Message-ID: <d3fda33a-6ca3-01e9-7462-31ba0002ac7f@a-kretschmer.de> (raw)
In-Reply-To: <5188DC9C-9665-41E8-8B04-B016527321C4@deccio.net>
References: <85CFAA9E-E10B-4B1E-8C79-7793CC92BA82@deccio.net>
	<CAE7uO5jf+EytMXTv2Qg=Bg=NfLkbaJqO6PRtEr28R8sAh695mw@mail.gmail.com>
	<2AA9443B-57B7-4088-8B8F-957703E206F0@deccio.net>
	<2871.1551804378@sss.pgh.pa.us>
	<CAE7uO5hSGUcufkPvbZ5K4mBQbBtM4hXGZjsB1vFvy81-Q8UcRQ@mail.gmail.com>
	<e3f08869-3601-f009-94f7-bfd97b0f4164@a-kretschmer.de>
	<5188DC9C-9665-41E8-8B04-B016527321C4@deccio.net>



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





view thread (20+ messages)  latest in thread

Message-ID: <d3fda33a-6ca3-01e9-7462-31ba0002ac7f@a-kretschmer.de>
Permalink:  ../d3fda33a-6ca3-01e9-7462-31ba0002ac7f@a-kretschmer.de/
Also on:    postgresql.org/message-id/d3fda33a-6ca3-01e9-7462-31ba0002ac7f@a-kretschmer.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: andreas@a-kretschmer.de
  Subject: Re: LIMIT not showing all results
  In-Reply-To: <d3fda33a-6ca3-01e9-7462-31ba0002ac7f@a-kretschmer.de>
  References: <85CFAA9E-E10B-4B1E-8C79-7793CC92BA82@deccio.net> <CAE7uO5jf+EytMXTv2Qg=Bg=NfLkbaJqO6PRtEr28R8sAh695mw@mail.gmail.com> <2AA9443B-57B7-4088-8B8F-957703E206F0@deccio.net> <2871.1551804378@sss.pgh.pa.us> <CAE7uO5hSGUcufkPvbZ5K4mBQbBtM4hXGZjsB1vFvy81-Q8UcRQ@mail.gmail.com> <e3f08869-3601-f009-94f7-bfd97b0f4164@a-kretschmer.de> <5188DC9C-9665-41E8-8B04-B016527321C4@deccio.net> <d3fda33a-6ca3-01e9-7462-31ba0002ac7f@a-kretschmer.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox