Re: Addition to: Trouble with initdb when the #define NAMEDATALEN = 51

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Addition to: Trouble with initdb when the #define NAMEDATALEN = 51
Дата
Msg-id 8391.989642138@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Addition to: Trouble with initdb when the #define NAMEDATALEN = 51  ("G. Anthony Reina" <reina@nsi.edu>)
Ответы Re: Addition to: Trouble with initdb when the #define NAMEDATALEN = 51  (Lincoln Yeoh <lyeoh@pop.jaring.my>)
Список pgsql-hackers
"G. Anthony Reina" <reina@nsi.edu> writes:
>> In postgres_ext.h, I changed:
>> 
>> #define NAMEDATALEN 32
>> to
>> #define NAMEDATALEN 51
>> 
>> Everything compiled and installed. However, the initdb started up but
>> then just said that it failed.

I have not tried that in awhile, but the last time I did, it worked
fine.  Are you sure you did a *complete* rebuild?  I'd suggest make
distclean at the top level, configure, make all, install, initdb.

BTW, 51 is a gratuitously wasteful setting --- given alignment
considerations, any value that's not a multiple of 4 is pointless.
(It should work ... but it's pointless.)
        regards, tom lane


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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: Rtree on custom data types; type conversion stops index use.
Следующее
От: Lincoln Yeoh
Дата:
Сообщение: Re: Addition to: Trouble with initdb when the #define NAMEDATALEN = 51