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
> <alvhe...@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 <alvhe...@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to