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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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: Sun, 24 Sep 2006 12:56:06 -0400
  • Message-id: <7258.1159116966@sss.pgh.pa.us> <text/plain>

"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



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group