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

Re: Bad bug in fopen() wrapper code

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgresql(dot)org, "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Bad bug in fopen() wrapper code
Date: 2006-09-24 16:56:06
Message-ID: 7258.1159116966@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
"Magnus Hagander" <mha(at)sollentuna(dot)net> writes:
> Attached patch sets the  O_CREAT option when appending to files.

That looks correct, but I went looking to see if there were any other
mistakes of the same ilk, and I'm wondering what the sense is in
openFlagsToCreateFileFlags ... seems like it's ignoring O_EXCL in
some combinations and not others.  Is that right?

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2006-09-24 17:00:22
Subject: Re: pg_ctl error msg on Windows 2000
Previous:From: Magnus HaganderDate: 2006-09-24 16:31:22
Subject: Re: pg_regress starting postmaster

pgsql-patches by date

Next:From: Tom LaneDate: 2006-09-24 17:00:22
Subject: Re: pg_ctl error msg on Windows 2000
Previous:From: Magnus HaganderDate: 2006-09-24 15:32:44
Subject: Updates to pg_regress.c

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