pgsql: Treat ENOTDIR as ENOENT when looking for client certificate file - Mailing list pgsql-committers

From Magnus Hagander
Subject pgsql: Treat ENOTDIR as ENOENT when looking for client certificate file
Date
Msg-id E1RWqFX-0005MR-Rh@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Treat ENOTDIR as ENOENT when looking for client certificate file

This makes it possible to use a libpq app with home directory set
to /dev/null, for example - treating it the same as if the file
doesn't exist (which it doesn't).

Per bug #6302, reported by Diego Elio Petteno

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f3bbd7d814c152a3582365734dc7b95c4fb3a863

Modified Files
--------------
src/interfaces/libpq/fe-secure.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)


pgsql-committers by date:

Previous
From: Magnus Hagander
Date:
Subject: pgsql: Treat ENOTDIR as ENOENT when looking for client certificate file
Next
From: h-saito@pgfoundry.org (Hiroshi Saito)
Date:
Subject: psqlodbc - psqlodbc: add the change history.