Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-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

pgsql-hackers by date

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

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group