Excerpts from Robert Haas's message of lun oct 25 23:37:31 -0300 2010:
> On Mon, Oct 25, 2010 at 5:43 PM, Alvaro Herrera
> <alvherre@commandprompt.com> wrote:
> > Hmm, my manpage says that open() could fail with EINVAL if O_DIRECT is
> > used and not supported by the filesystem. Â We use O_DIRECT in some
> > wal_sync_method configurations. Â Maybe the Ubuntu live is not getting
> > that flag right.
> If this really is caused by a WAL setting that's incompatible with the
> filesystem, maybe we should add a HINT. This makes two reports today,
> plus apparently at least one more on the Ubuntu sight.
Maybe we should retry the syscall without the flag in the EINVAL case.
It's not a critical flag for correctness, just desired for performance.
--
Ãlvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support