Re: pgsql: Recognize ERROR_SHARING_VIOLATION (translate to EACCES), - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Recognize ERROR_SHARING_VIOLATION (translate to EACCES),
Date
Msg-id 11630.1128742996@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Recognize ERROR_SHARING_VIOLATION (translate to EACCES),  (Qingqing Zhou <zhouqq@cs.toronto.edu>)
List pgsql-committers
Qingqing Zhou <zhouqq@cs.toronto.edu> writes:
> "Tom Lane" <tgl@svr1.postgresql.org> wrote
>> Recognize ERROR_SHARING_VIOLATION (translate to EACCES), increase log
>> level for unrecognized win32 error codes to LOG, and make messages
>> conform to style guide.

> This patch does not really work. This is because when mdread()/mdwrite()
> fails, it does *not* call our own _dosmaperr() routine.

Agreed, it does not help mdread, but it's still an improvement.

            regards, tom lane

pgsql-committers by date:

Previous
From: momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Add spacing around operators.
Next
From: momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Cosmetic changes to dblink.