Re: Move bki file pre-processing from initdb to bootstrap

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: Move bki file pre-processing from initdb to bootstrap
Дата
Msg-id
d07efce7-e6d1-4d94-fe52-9b977150e345@eisentraut.org
Ответ на
Список
Дерево обсуждения
Move bki file pre-processing from initdb to bootstrap Krishnakumar R <kksrcv001@gmail.com>
Re: Move bki file pre-processing from initdb to bootstrap Tom Lane <tgl@sss.pgh.pa.us>
Re: Move bki file pre-processing from initdb to bootstrap Peter Eisentraut <peter@eisentraut.org>
Re: Move bki file pre-processing from initdb to bootstrap Andres Freund <andres@anarazel.de>
Re: Move bki file pre-processing from initdb to bootstrap Peter Eisentraut <peter@eisentraut.org>
Re: Move bki file pre-processing from initdb to bootstrap Krishnakumar R <kksrcv001@gmail.com>
Re: Move bki file pre-processing from initdb to bootstrap Peter Eisentraut <peter@eisentraut.org>
Re: Move bki file pre-processing from initdb to bootstrap Krishnakumar R <kksrcv001@gmail.com>
Re: Move bki file pre-processing from initdb to bootstrap Peter Eisentraut <peter@eisentraut.org>
Re: Move bki file pre-processing from initdb to bootstrap Krishnakumar R <kksrcv001@gmail.com>
Re: Move bki file pre-processing from initdb to bootstrap vignesh C <vignesh21@gmail.com>
On 01.09.23 14:37, Tom Lane wrote:
> Krishnakumar R  writes:
>> This patch moves the pre-processing for tokens in the bki file from
>> initdb to bootstrap. With these changes the bki file will only be
>> opened once in bootstrap and parsing will be done by the bootstrap
>> parser.
> 
> You haven't provided any iota of evidence why this would be an
> improvement.

I had played with similar ideas in the past, because it would shave some 
time of initdb, which would accumulate noticeably over a full test run.

But now with the initdb caching mechanism, I wonder whether this is 
still needed.



В списке pgsql-hackers по дате отправления
От: Peter Eisentraut
Дата:
От: Tomas Vondra
Дата:
FAQ