From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Andrus <kobruleht2(at)hot(dot)ee> |
Cc: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, Michael Paquier <michael(at)paquier(dot)xyz>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Niels Jespersen <NJN(at)dst(dot)dk>, pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: SV: Log files polluted with permission denied error messages after every 10 seconds |
Date: | 2021-03-17 15:44:48 |
Message-ID: | 3519321.1615995888@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Andrus <kobruleht2(at)hot(dot)ee> writes:
> It looks like too small buffer is passed to NtQueryInformationFile .
Oh! That's an interesting theory; it'd explain why this broke recently,
because we didn't use to use that function. But how do you draw that
conclusion from this stack trace?
Anyway, if you've diagnosed this correctly, I bet the fault is in
this bit in win32stat.c:
#if _WIN32_WINNT < 0x0600
IO_STATUS_BLOCK ioStatus;
FILE_STANDARD_INFORMATION standardInfo;
#else
FILE_STANDARD_INFO standardInfo;
#endif
Maybe the version cutoff is wrong? Maybe we have to do this with
a run-time version check, instead of statically compiling it?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Marc | 2021-03-17 19:00:46 | how to troubleshoot: FATAL: canceling authentication due to timeout |
Previous Message | Andrus | 2021-03-17 15:24:42 | Re: SV: Log files polluted with permission denied error messages after every 10 seconds |