Re: Has anybody think about changing BLCKSZ to an option of initdb?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Has anybody think about changing BLCKSZ to an option of initdb?
Дата
Msg-id 26451.1236777213@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Has anybody think about changing BLCKSZ to an option of initdb?  (Greg Stark <stark@enterprisedb.com>)
Ответы Re: Has anybody think about changing BLCKSZ to an option of initdb?
Список pgsql-hackers
Greg Stark <stark@enterprisedb.com> writes:
> On Wed, Mar 11, 2009 at 12:38 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> And there seems nothing diffcult to implement this. Is that true?
>> 
>> No.

> Eh? There's nothing difficult in implementing it.

> But there are a lot of other constants dependant on this value which
> are currently compile-time constants.

Exactly, and we rely on them being constants, eg to size arrays.

There's no free lunch, and in this particular case there is no evidence
whatsoever that it'd be worth the trouble to support run-time-variable
BLCKSZ.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: gcc: why optimize for size flag is not the default
Следующее
От: Greg Stark
Дата:
Сообщение: Re: idea, proposal: only preloadable libraries (conditional load)