Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kst9L-0005qX-Hu for pgsql-committers@arkaria.postgresql.org; Fri, 25 Dec 2020 19:53:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kst9K-0005Wj-6T for pgsql-committers@arkaria.postgresql.org; Fri, 25 Dec 2020 19:53:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kst9K-0005Wc-0u for pgsql-committers@lists.postgresql.org; Fri, 25 Dec 2020 19:53:18 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kst9D-0003uK-Uy for pgsql-committers@lists.postgresql.org; Fri, 25 Dec 2020 19:53:16 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 0BPJrArk1205032; Fri, 25 Dec 2020 14:53:10 -0500 From: Tom Lane To: Bruce Momjian cc: Justin Pryzby , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Add key management system In-reply-to: <20201225194125.GC19054@momjian.us> References: <20201225190935.GY30237@telsasoft.com> <1172955.1608923830@sss.pgh.pa.us> <1177207.1608925026@sss.pgh.pa.us> <20201225194125.GC19054@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Fri, 25 Dec 2020 14:41:25 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1205030.1608925990.1@sss.pgh.pa.us> Date: Fri, 25 Dec 2020 14:53:10 -0500 Message-ID: <1205031.1608925990@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Bruce Momjian 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