Re: BUG #4410: Indexes not seen right away - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #4410: Indexes not seen right away
Date
Msg-id 16773.1220822311@sss.pgh.pa.us
Whole thread Raw
In response to BUG #4410: Indexes not seen right away  ("Greg Sabino Mullane" <greg@endpoint.com>)
Responses Re: BUG #4410: Indexes not seen right away
List pgsql-bugs
"Greg Sabino Mullane" <greg@endpoint.com> writes:
> I cannot reproduce, as this was on a production system and not seen again,
> but I created a simple index on a TEXT field, which was not chosen by the
> planner, even when seqscan was turned off. I analyzed the table, checked all
> the settings, etc. pg_index looked as it should. Eventually (~ 10 minutes
> later) the index as chosen - I don't know what might have triggered it to
> start appearing.

Does it have pg_index.indcheckxmin = true?  If so, see README.HOT.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Greg Sabino Mullane"
Date:
Subject: BUG #4410: Indexes not seen right away
Next
From: Tom Lane
Date:
Subject: Re: non-deterministic error related to MIN/MAX optimization