Inefficiency in InitIndexFreeSpaceMap - Mailing list pgsql-hackers

From Tom Lane
Subject Inefficiency in InitIndexFreeSpaceMap
Date
Msg-id 5473.1225931998@sss.pgh.pa.us
Whole thread Raw
Responses Re: Inefficiency in InitIndexFreeSpaceMap
List pgsql-hackers
Why is InitIndexFreeSpaceMap coded to test for the FSM file already
existing?  AFAICS it cannot yet exist and it should be an error anyway
if it does.  The smgrexists probe is hardly free, so losing it would be
good.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Patch for ALTER DATABASE WITH TABLESPACE
Next
From: Bernd Helmle
Date:
Subject: Re: Patch for ALTER DATABASE WITH TABLESPACE