Skip site navigation (1) Skip section navigation (2)

pgsql: Treat ENOTDIR as ENOENT when looking for client certificatefile

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Treat ENOTDIR as ENOENT when looking for client certificatefile
Date: 2011-12-03 14:07:31
Message-ID: E1RWqFX-0005MN-Pb@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5b40677986984d450a2a16e515fe44d90dfeef02

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

pgsql-committers by date

Next:From: Hiroshi SaitoDate: 2011-12-03 23:21:53
Subject: psqlodbc - psqlodbc: add the change history.
Previous:From: Tom LaneDate: 2011-12-03 00:52:52
Subject: pgsql: Dodge an ancient ksh bug that breaks configure on someplatforms

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group