Re: initdb failure on win32

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: initdb failure on win32
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE34C022@algol.sollentuna.se
обсуждение исходный текст
Ответ на initdb failure on win32  (Thomas Hallgren <thhal@mailblocks.com>)
Ответы Re: initdb failure on win32  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
> > There is a fixed buffer of 1024 bytes. I have a feeling
> ythat one has
> > to be changed to dynamic.
> >
> You're quite right. The 'InfoBufferSize' denotes 1122 bytes
> after this call.
>
> if(!GetTokenInformation(AccessToken,TokenGroups,InfoBuffer,102
> 4,&InfoBufferSize))

Ah.
Your stop-gap fix is to double the size of the buffer.

I'll try to get a patch in for dynamic buffer handling in the next
couple of days as the real fix.

Just to be sure: Bruce, open item please for "Use dynamic buffer for
token buffer in win32 admin check"


//Magnus


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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: tablespace and sequences?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [ADMIN] SRPM for 8.0.0 beta?