From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Andrus <kobruleht2@hot.ee>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Log files polluted with permission denied error messages after every 10 seconds
Date: Mon, 08 Mar 2021 16:58:32 -0500
Message-ID: <1881481.1615240712@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+hUKGLprgytAo1UfnGPP8sC9+cohTLMRW_o4zPXFSo-COa-Vg@mail.gmail.com>
References: <3861ff1e-0923-7838-e826-094cc9bef737@hot.ee>
<676dc946300076e60d6af455ac1bfa489fbbdd8b.camel@cybertec.at>
<97e00b3b-9357-4386-d4bd-b9128e4b8924@hot.ee>
<YELcpyM5Nc1H7L2m@paquier.xyz>
<CA+hUKGLprgytAo1UfnGPP8sC9+cohTLMRW_o4zPXFSo-COa-Vg@mail.gmail.com>
Thomas Munro <thomas.munro@gmail.com> writes:
> Another thought: if it's not a sharing violation, I wonder if we
> should consider dumping more raw Windows error information in the
> messages we log, because, if I recall correctly, we're converting many
> Windows error codes into few Unix-style error numbers and thereby
> throwing away valuable clues. It makes it a bit more confusing when
> trying to ask a Windows expert what might be happening.
Yeah, I've wondered for some time if the apparent EACCES code is
actually being mapped from something other than ERROR_SHARING_VIOLATION
in (some of?) these reports. The hard part is to hold onto the
Windows error code alongside errno without massively invasive changes.
regards, tom lane
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: tgl@sss.pgh.pa.us, thomas.munro@gmail.com, michael@paquier.xyz, kobruleht2@hot.ee, laurenz.albe@cybertec.at
Subject: Re: Log files polluted with permission denied error messages after every 10 seconds
In-Reply-To: <1881481.1615240712@sss.pgh.pa.us>
References: <3861ff1e-0923-7838-e826-094cc9bef737@hot.ee> <676dc946300076e60d6af455ac1bfa489fbbdd8b.camel@cybertec.at> <97e00b3b-9357-4386-d4bd-b9128e4b8924@hot.ee> <YELcpyM5Nc1H7L2m@paquier.xyz> <CA+hUKGLprgytAo1UfnGPP8sC9+cohTLMRW_o4zPXFSo-COa-Vg@mail.gmail.com> <1881481.1615240712@sss.pgh.pa.us>
* 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