Re: [BUGS] BUG #8167: false EINVAL -22 for opening a file - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [BUGS] BUG #8167: false EINVAL -22 for opening a file
Date
Msg-id CA+TgmoZ4JPsb5tv31KLqkupyMiUeXHzqVyYueMsux7-R4EA5wg@mail.gmail.com
Whole thread Raw
In response to Re: [BUGS] BUG #8167: false EINVAL -22 for opening a file  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, May 16, 2013 at 11:55 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I've not really reviewed fd.c for other instances of the same bug,
> but I do see some places where there are DO_DB(...) debug calls in
> places where errno had better not change.  I'm thinking maybe we should
> improve that macro to include save/restore errno.  Or else rip that
> stuff out entirely --- I've sure never built this code with FDDEBUG
> set, has anyone else?

Not me.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: counting algorithm for incremental matview maintenance
Next
From: Robert Haas
Date:
Subject: Re: Logging of PAM Authentication Failure