> > 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?

That is part of the original open() code that Claudio did back for 8.0,
so it has definitly been working since then. I haven't really read into
the code, though... But a qiuck look doesn't show me any place wher eit
does ignore O_EXCL - which combination would that be?

//Magnus

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to