Re: pgsql: Recognize ERROR_SHARING_VIOLATION (translate to EACCES),

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Qingqing Zhou <zhouqq(at)cs(dot)toronto(dot)edu>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Recognize ERROR_SHARING_VIOLATION (translate to EACCES),
Date: 2005-10-08 03:43:16
Message-ID: 11630.1128742996@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Qingqing Zhou <zhouqq(at)cs(dot)toronto(dot)edu> writes:
> "Tom Lane" <tgl(at)svr1(dot)postgresql(dot)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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2005-10-08 11:33:45 pgsql: Cosmetic changes to dblink.
Previous Message Bruce Momjian 2005-10-08 02:39:28 pgsql: Add spacing around operators.