From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: Justin Pryzby <pryzby@telsasoft.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add key management system
Date: Fri, 25 Dec 2020 14:53:10 -0500
Message-ID: <1205031.1608925990@sss.pgh.pa.us> (raw)
In-Reply-To: <20201225194125.GC19054@momjian.us>
References: <E1ksosn-00073I-0Q@gemulon.postgresql.org>
<20201225190935.GY30237@telsasoft.com>
<1172955.1608923830@sss.pgh.pa.us>
<1177207.1608925026@sss.pgh.pa.us>
<20201225194125.GC19054@momjian.us>
Bruce Momjian <bruce@momjian.us> writes:
> On Fri, Dec 25, 2020 at 02:37:06PM -0500, Tom Lane wrote:
>> pg_attribute_noreturn() seems like a good idea, but we're also going to
>> need dummy return statements in the callers, to satisfy compilers that
>> don't understand that.
> Yes, done. I tested it with a non-OpenSSL configure run now and it
> worked. Thanks for the report.
Now that it compiles cleanly, what about test cases? It looks
to me like you broke src/test/Makefile:
@@ -30,7 +30,7 @@ endif
endif
ifeq ($(with_openssl),yes)
ifneq (,$(filter ssl,$(PG_TEST_EXTRA)))
-SUBDIRS += ssl
+SUBDIRS += ssl crypto
endif
endif
because there is no such subdirectory. Assuming that that's a
case of forgetting to "git add" the whole subdirectory, I still
don't much care for this implementation: the user should be able
to decide which subdirectories get run. Maybe more like
ifeq ($(with_openssl),yes)
ifneq (,$(filter ssl,$(PG_TEST_EXTRA)))
SUBDIRS += ssl
endif
+ifneq (,$(filter crypto,$(PG_TEST_EXTRA)))
+SUBDIRS += crypto
+endif
endif
regards, tom lane
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: tgl@sss.pgh.pa.us, bruce@momjian.us, pryzby@telsasoft.com
Subject: Re: pgsql: Add key management system
In-Reply-To: <1205031.1608925990@sss.pgh.pa.us>
References: <E1ksosn-00073I-0Q@gemulon.postgresql.org> <20201225190935.GY30237@telsasoft.com> <1172955.1608923830@sss.pgh.pa.us> <1177207.1608925026@sss.pgh.pa.us> <20201225194125.GC19054@momjian.us> <1205031.1608925990@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