Re: About index_build

From: Tom Lane
Subject: Re: About index_build
Date: ,
Msg-id: 16801.1112883115@sss.pgh.pa.us
(view: Whole thread, Raw)
In response to: About index_build  (Alexey Slynko)
List: pgsql-hackers

Alexey Slynko <> writes:
> I have found comments in backend/catalog/index.c, that
> index_build closes the passed rels ( heapRelation and indexRelation ).

Bootstrap mode does it differently.  I've never really felt motivated to
understand why in any detail.  Presumably it was once *necessary* for
bootstrap to behave like that, and maybe it still is or maybe not.
It ain't broke so why fix it ...
        regards, tom lane



pgsql-hackers by date:

From: Tom Lane
Date:
Subject: Re: Recognizing range constraints (was Re: Plan for relatively simple query seems to be very inefficient)
From: "Jim C. Nasby"
Date:
Subject: Re: Recognizing range constraints (was Re: [PERFORM] Plan for relatively simple query seems to be very inefficient)