Re: [HACKERS] 0x1A in control file on Windows

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, pgsql-bugs(at)postgresql(dot)org
Subject: Re: [HACKERS] 0x1A in control file on Windows
Date: 2008-09-19 14:38:22
Message-ID: 48D3B95E.4070704@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Magnus Hagander wrote:
> I had a chat with Heikki about this, and the proper way to fix it.
>
> Should there actually be any reason not to *always* open our files with
> O_BINARY? That seems to be what should mimic what Unix does, which would
> be what we expect, no?
>
> If that is so, then I propose we do that for 8.4, and just backpatch the
> O_BINARY flag to these two locations for 8.3 and 8.2. Thoughts?
>
>
>

ISTR there are a few places where we want CRLF translation (config files?)

I'd be fairly conservative about making changes like this.

cheers

andrew

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Magnus Hagander 2008-09-19 14:42:07 Re: [HACKERS] 0x1A in control file on Windows
Previous Message Magnus Hagander 2008-09-19 14:23:20 Re: [HACKERS] 0x1A in control file on Windows

Browse pgsql-hackers by date

  From Date Subject
Next Message Scott Marlowe 2008-09-19 14:39:14 Re: Regaining superuser access
Previous Message Magnus Hagander 2008-09-19 14:23:20 Re: [HACKERS] 0x1A in control file on Windows