| From: | "Magnus Hagander" <mha(at)sollentuna(dot)net> |
|---|---|
| To: | "Thomas Hallgren" <thhal(at)mailblocks(dot)com>, <pgsql-hackers(at)postgresql(dot)org> |
| Cc: | "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us> |
| Subject: | Re: initdb failure on win32 |
| Date: | 2004-08-18 14:29:33 |
| Message-ID: | 6BCB9D8A16AC4241919521715F4D8BCE34C022@algol.sollentuna.se |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2004-08-18 14:33:45 | Re: [HACKERS] SRPM for 8.0.0 beta? |
| Previous Message | Fabien COELHO | 2004-08-18 14:25:03 | Re: tablespace and sequences? |