pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andrus <kobruleht2@hot.ee>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: Niels Jespersen <NJN@dst.dk>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: SV: Log files polluted with permission denied error messages after every 10 seconds
Date: Thu, 18 Mar 2021 06:00:03 +0900
Message-ID: <YFJt02H0HGahQ326@paquier.xyz> (raw)
In-Reply-To: <3519321.1615995888@sss.pgh.pa.us>
References: <22ec98b1-cc2f-8e6a-f1d7-ee528237f2fb@hot.ee>
	<YFCH53atgYEUg4Uj@paquier.xyz>
	<78e6daee-0323-752d-c142-263a80154e18@hot.ee>
	<YFEupw8fHXQ/TMLI@paquier.xyz>
	<6538dfd4-9820-6e30-3eb3-5e035d8aba05@hot.ee>
	<7f13c1a55d615265364a888801ca3a7272df9c5a.camel@cybertec.at>
	<843d2c8b-2e7a-8d4f-940a-2e3283690026@hot.ee>
	<908a9bcb7a29d5a2edbe354d1a4b2c91d709f212.camel@cybertec.at>
	<1d2706f2-6fbe-ed5f-22ed-56358c154053@hot.ee>
	<3519321.1615995888@sss.pgh.pa.us>

On Wed, Mar 17, 2021 at 11:44:48AM -0400, Tom Lane wrote:
> 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?

All the reports received are on 13.1 and 13.2.  This code is new as of
bed9075, no?
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (34+ messages)  latest in thread

Message-ID: <YFJt02H0HGahQ326@paquier.xyz>
Permalink:  ../YFJt02H0HGahQ326@paquier.xyz/
Also on:    postgresql.org/message-id/YFJt02H0HGahQ326@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: michael@paquier.xyz, tgl@sss.pgh.pa.us, kobruleht2@hot.ee, laurenz.albe@cybertec.at, thomas.munro@gmail.com, NJN@dst.dk
  Subject: Re: Log files polluted with permission denied error messages after every 10 seconds
  In-Reply-To: <YFJt02H0HGahQ326@paquier.xyz>
  References: <22ec98b1-cc2f-8e6a-f1d7-ee528237f2fb@hot.ee> <YFCH53atgYEUg4Uj@paquier.xyz> <78e6daee-0323-752d-c142-263a80154e18@hot.ee> <YFEupw8fHXQ/TMLI@paquier.xyz> <6538dfd4-9820-6e30-3eb3-5e035d8aba05@hot.ee> <7f13c1a55d615265364a888801ca3a7272df9c5a.camel@cybertec.at> <843d2c8b-2e7a-8d4f-940a-2e3283690026@hot.ee> <908a9bcb7a29d5a2edbe354d1a4b2c91d709f212.camel@cybertec.at> <1d2706f2-6fbe-ed5f-22ed-56358c154053@hot.ee> <3519321.1615995888@sss.pgh.pa.us> <YFJt02H0HGahQ326@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox