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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-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

Browse pgsql-committers by date

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

Browse pgsql-hackers by date

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