Re: adding new pages bulky way - Mailing list pgsql-hackers

From Tom Lane
Subject Re: adding new pages bulky way
Date
Msg-id 26059.1118120370@sss.pgh.pa.us
Whole thread Raw
In response to adding new pages bulky way  ("Victor Y. Yegorov" <viy@mits.lv>)
Responses Re: adding new pages bulky way
List pgsql-hackers
"Victor Y. Yegorov" <viy@mits.lv> writes:
> [ scheme involving a predetermined layout of index pages ]

> The question is: allocating pages this way is really ugly, I understand. Is
> there some API that would allow allocating N pages in the bulk way?

Why bother?  Just write each page when you need to --- there's no law
that says you must use P_NEW.  The hash index type does something pretty
similar, IIRC.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: [PATCHES] lastval()
Next
From: "Qingqing Zhou"
Date:
Subject: Re: adding new pages bulky way