From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Michael Paquier <michael.paquier@gmail.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: pgsql: Implement channel binding tls-server-end-point for SCRAM
Date: Tue, 9 Jan 2018 12:49:11 -0500
Message-ID: <4f1521c4-0d8a-5567-fab7-e3b410dd7404@2ndquadrant.com> (raw)
In-Reply-To: <20180108131411.GA76418@paquier.xyz>
References: <517b2640-dfea-ca7f-220c-1d4f482f6fc4@2ndquadrant.com>
<20180105175627.tndhtwsztuekz54n@alvherre.pgsql>
<CAB7nPqTqFTfC7gjWNmKi1FgMATqJx9YcZ8QRVKT8CGLeuFoM-g@mail.gmail.com>
<20180108131411.GA76418@paquier.xyz>
On 1/8/18 08:14, Michael Paquier wrote:
> On Sat, Jan 06, 2018 at 09:10:51AM +0900, Michael Paquier wrote:
>> On Sat, Jan 6, 2018 at 2:56 AM, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
>> Good idea as a whole, but I don't think this is the right approach. As
>> we include $(bindir) in PATH when running the prove command, why not
>> getting the include path from "pg_config --includedir"?
>
> So, I have been looking at that, and I propose the following
> counter-patch which implements this idea by adding a new routine as
> TestLib::config_check which is able to check within pg_config.h if a
> given regexp matches or not for the installation on which TAP tests are
> being run. I have tested with Postgres compiled with both OpenSSL 1.0.1
> and 1.0.2, in which case the connection test respectively fails and
> passes, causing the test to be correctly handled. This is based on
> Peter's patch upthread.
Committed. I like counter-patches.
(I renamed the function a bit to check_pg_config, to make the naming
similar to other functions in TestLib.)
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter.eisentraut@2ndquadrant.com, michael.paquier@gmail.com, alvherre@alvh.no-ip.org, robertmhaas@gmail.com, thomas.munro@enterprisedb.com, pgsql-hackers@postgresql.org
Subject: Re: pgsql: Implement channel binding tls-server-end-point for SCRAM
In-Reply-To: <4f1521c4-0d8a-5567-fab7-e3b410dd7404@2ndquadrant.com>
References: <517b2640-dfea-ca7f-220c-1d4f482f6fc4@2ndquadrant.com> <20180105175627.tndhtwsztuekz54n@alvherre.pgsql> <CAB7nPqTqFTfC7gjWNmKi1FgMATqJx9YcZ8QRVKT8CGLeuFoM-g@mail.gmail.com> <20180108131411.GA76418@paquier.xyz> <4f1521c4-0d8a-5567-fab7-e3b410dd7404@2ndquadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox