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

From Glen Knowles
Subject Re: [COMMITTERS] pgsql: Use symbolic names not octal constants for file permission flags
Date
Msg-id AANLkTi=-ff5_tXU__Wn2azxoOjSvYdqs1XHci_XcQTkM@mail.gmail.com
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Use symbolic names not octal constants for file permission flags  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [COMMITTERS] pgsql: Use symbolic names not octal constants for file permission flags  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On Sun, Dec 12, 2010 at 8:16 AM, Tom Lane <tgl@sss.pgh.pa.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

pgsql-hackers by date:

Previous
From: aaliya zarrin
Date:
Subject: pg_is_in_recovery=1
Next
From: Rob Wultsch
Date:
Subject: Re: ALTER TABLE ... ADD FOREIGN KEY ... NOT ENFORCED