Thread: pgsql: Diagnose incompatible OpenLDAP versions during build and test.

pgsql: Diagnose incompatible OpenLDAP versions during build and test.

From
Noah Misch
Date:
Diagnose incompatible OpenLDAP versions during build and test.

With OpenLDAP versions 2.4.24 through 2.4.31, inclusive, PostgreSQL
backends can crash at exit.  Raise a warning during "configure" based on
the compile-time OpenLDAP version number, and test the crash scenario in
the dblink test suite.  Back-patch to 9.0 (all supported versions).

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/07115248fdaf06ba9b4f1a5f557cbf0282d835dd

Modified Files
--------------
configure                          |   77 ++++++++++++++++++++++++++++++++++++
configure.in                       |   29 ++++++++++++++
contrib/dblink/Makefile            |    4 +-
contrib/dblink/expected/.gitignore |    1 +
contrib/dblink/expected/dblink.out |   27 +++++++++++++
contrib/dblink/input/paths.source  |   14 +++++++
contrib/dblink/output/paths.source |   11 ++++++
contrib/dblink/pg_service.conf     |    7 ++++
contrib/dblink/sql/.gitignore      |    1 +
contrib/dblink/sql/dblink.sql      |   28 +++++++++++++
src/test/regress/regress.c         |   46 +++++++++++++++++++++
11 files changed, 244 insertions(+), 1 deletion(-)