pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: Sebastien Flaesch <sebastien.flaesch@4js.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: lippq client library and openssl initialization: PQinitOpenSSL()
Date: Mon, 12 Sep 2022 09:47:51 -0400
Message-ID: <1606993.1662990471@sss.pgh.pa.us> (raw)
In-Reply-To: <B6FABD15-33C3-4C0B-AEEF-BD250F431B22@yesql.se>
References: <DBAP191MB12895BFFEC4B5FE0460D0F2FB0459@DBAP191MB1289.EURP191.PROD.OUTLOOK.COM>
	<816006.1662908880@sss.pgh.pa.us>
	<9A09E47E-68EB-45DF-A934-FB76F2086D20@yesql.se>
	<1206133.1662932104@sss.pgh.pa.us>
	<C3C3CD40-9F39-44DA-AFAA-AAD52002C3FA@yesql.se>
	<6b1946ab-b6ff-8f0c-22d9-2456b04dd1b3@enterprisedb.com>
	<B6FABD15-33C3-4C0B-AEEF-BD250F431B22@yesql.se>

Daniel Gustafsson <daniel@yesql.se> writes:
> On 12 Sep 2022, at 13:21, Peter Eisentraut <peter.eisentraut@enterprisedb.com> wrote:
>> AFAICT, RHEL 7 ships with an older version. I think that's still pretty widespread.

> Fair enough.  That doesn't however IMO prevent us from adding a note that 1.1.0
> and onwards are different.  The attached keeps the strong wording of the main
> para, but adds a note after the related functions.

Personally I'd put this up front, more like

   have been initialized by your application, so that
   <application>libpq</application> will not also initialize those libraries.
+  However, this is unnecessary when using OpenSSL 1.1.0 or later,
+  as duplicate initializations are no longer problematic.
  </para>

If you do use wording that specifically mentions PQinitOpenSSL,
it should also mention PQinitSSL, just for clarity.

			regards, tom lane





view thread (11+ messages)  latest in thread

Message-ID: <1606993.1662990471@sss.pgh.pa.us>
Permalink:  ../1606993.1662990471@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1606993.1662990471@sss.pgh.pa.us

 · 

reply

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-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, daniel@yesql.se, peter.eisentraut@enterprisedb.com, sebastien.flaesch@4js.com
  Subject: Re: lippq client library and openssl initialization: PQinitOpenSSL()
  In-Reply-To: <1606993.1662990471@sss.pgh.pa.us>
  References: <DBAP191MB12895BFFEC4B5FE0460D0F2FB0459@DBAP191MB1289.EURP191.PROD.OUTLOOK.COM> <816006.1662908880@sss.pgh.pa.us> <9A09E47E-68EB-45DF-A934-FB76F2086D20@yesql.se> <1206133.1662932104@sss.pgh.pa.us> <C3C3CD40-9F39-44DA-AFAA-AAD52002C3FA@yesql.se> <6b1946ab-b6ff-8f0c-22d9-2456b04dd1b3@enterprisedb.com> <B6FABD15-33C3-4C0B-AEEF-BD250F431B22@yesql.se> <1606993.1662990471@sss.pgh.pa.us>

* 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