Re: About index_build - Mailing list pgsql-hackers

From Tom Lane
Subject Re: About index_build
Date
Msg-id 16801.1112883115@sss.pgh.pa.us
Whole thread Raw
In response to About index_build  (Alexey Slynko <slynko@tronet.ru>)
List pgsql-hackers
Alexey Slynko <slynko@tronet.ru> 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:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Shared row locking, revisited
Next
From: Bruno Wolff III
Date:
Subject: Re: Recognizing range constraints (was Re: Plan for relatively simple query seems to be very inefficient)