Re: pgsql: add EPERM to the list of return codes to expect from opening

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Greg Stark <stark(at)postgresql(dot)org>
Cc: "<pgsql-hackers(at)postgresql(dot)org>" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgsql: add EPERM to the list of return codes to expect from opening
Date: 2010-03-01 13:26:08
Message-ID: 407d949e1003010526o123297cja6f8bdddda4ecbaf@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

This isn't working. The Windows ports are all saying "permission
denied" but apparently that's not because errno is set to EPERM.
Anyone know how to detect "permission denied" errors from open() on
windows?

On Mon, Mar 1, 2010 at 12:04 AM, Greg Stark <stark(at)postgresql(dot)org> wrote:
> Log Message:
> -----------
> add EPERM to the list of return codes to expect from opening directories based on Vista results
>
> Modified Files:
> --------------
>    pgsql/src/port:
>        copydir.c (r1.34 -> r1.35)
>        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/copydir.c?r1=1.34&r2=1.35)
>
> --
> Sent via pgsql-committers mailing list (pgsql-committers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-committers
>

--
greg

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2010-03-01 13:37:00 Re: Re: pgsql: add EPERM to the list of return codes to expect from opening
Previous Message User Itagaki 2010-03-01 09:36:43 pgstatsinfo - pg_statsinfo: Support MSVC.

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2010-03-01 13:37:00 Re: Re: pgsql: add EPERM to the list of return codes to expect from opening
Previous Message Peter Eisentraut 2010-03-01 13:23:01 Re: ALTER TABLE SET STATISTICS requires AccessExclusiveLock