pgsql: Fix configure probe for sys/ucred.h.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix configure probe for sys/ucred.h.
Date: 2013-07-25 15:40:29
Message-ID: E1V2NeX-0003Zq-2j@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix configure probe for sys/ucred.h.

The configure script's test for <sys/ucred.h> did not work on OpenBSD,
because on that platform <sys/param.h> has to be included first.
As a result, socket peer authentication was disabled on that platform.
Problem introduced in commit be4585b1c27ac5dbdd0d61740d18f7ad9a00e268.

Andres Freund, slightly simplified by me.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8714465f0f5ca54b6ad8b1fc8320fad6b8e9e2aa

Modified Files
--------------
configure | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++----
configure.in | 14 ++++++++---
2 files changed, 83 insertions(+), 7 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-07-25 16:41:41 Re: pgsql: Add GET DIAGNOSTICS ... PG_CONTEXT in PL/PgSQL
Previous Message Tom Lane 2013-07-25 15:40:28 pgsql: Fix configure probe for sys/ucred.h.