Re: adding new pages bulky way

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: adding new pages bulky way
Дата
Msg-id 26059.1118120370@sss.pgh.pa.us
обсуждение исходный текст
Ответ на adding new pages bulky way  ("Victor Y. Yegorov" <viy@mits.lv>)
Ответы Re: adding new pages bulky way  ("Victor Y. Yegorov" <viy@mits.lv>)
Список 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 по дате отправления:

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: [PATCHES] lastval()
Следующее
От: "Qingqing Zhou"
Дата:
Сообщение: Re: adding new pages bulky way