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

Re: [COMMITTERS] pgsql: Use symbolic names not octal constants for file permission flags

From: Glen Knowles <gknowles(at)ieee(dot)org>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Use symbolic names not octal constants for file permission flags
Date: 2010-12-13 05:54:21
Message-ID: AANLkTi=-ff5_tXU__Wn2azxoOjSvYdqs1XHci_XcQTkM@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
On Sun, Dec 12, 2010 at 8:16 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> > What are the values of _S_IREAD and _S_IWRITE, anyway?  I'm still
> > wondering how come the previous coding with hardwired constants
> > behaved correctly.
>
> Still curious about this.
>
> FWIW, _S_IREAD and _S_IWRITE are defined by Visual Studio C++ 2008 in
sys/stat.h as 0x0100 and 0x0080 respectively.

Glen

In response to

Responses

pgsql-hackers by date

Next:From: Rob WultschDate: 2010-12-13 05:59:39
Subject: Re: ALTER TABLE ... ADD FOREIGN KEY ... NOT ENFORCED
Previous:From: aaliya zarrinDate: 2010-12-13 05:48:07
Subject: pg_is_in_recovery=1

pgsql-committers by date

Next:From: Fujii MasaoDate: 2010-12-13 08:02:38
Subject: Re: pgsql: Self review of previous patch. Fix assumption that xmax >= xmin.
Previous:From: Tom LaneDate: 2010-12-12 20:10:21
Subject: pgsql: Reset all database-level stats in pgstat_recv_resetcounter().

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