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-0003Zt-3v@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_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/3ba763bd95b6eb027bc87e73806241b460807091

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.