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 1l1Woy-0008NQ-Un for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Jan 2021 15:52:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l1Wow-00060v-H7 for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Jan 2021 15:51:58 +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 1l1Wow-00060o-9a for pgsql-hackers@lists.postgresql.org; Mon, 18 Jan 2021 15:51:58 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l1Wou-0000A0-3X for pgsql-hackers@postgresql.org; Mon, 18 Jan 2021 15:51:57 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1l1Wot-0004gi-0o; Mon, 18 Jan 2021 10:51:55 -0500 Date: Mon, 18 Jan 2021 10:51:55 -0500 From: Bruce Momjian To: Andres Freund Cc: Amit Kapila , Tom Kincaid , Robert Haas , Thomas Munro , PostgreSQL-development , Stephen Frost , Masahiko Sawada Subject: Re: Key management with tests Message-ID: <20210118155155.GC18352@momjian.us> References: <20210115214719.GE8740@momjian.us> <20210115223756.si7s3vpa3ewji6u6@alap3.anarazel.de> <20210116002132.GG8740@momjian.us> <20210116005624.ai7gyqee5c6fvnwh@alap3.anarazel.de> <20210116014910.GI8740@momjian.us> <20210116042036.cpuadvs2bdbsblia@alap3.anarazel.de> <20210117065847.yim3rcio4pql3eqr@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210117065847.yim3rcio4pql3eqr@alap3.anarazel.de> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Sat, Jan 16, 2021 at 10:58:47PM -0800, Andres Freund wrote: > Hi, > > On 2021-01-17 11:54:57 +0530, Amit Kapila wrote: > > On Sun, Jan 17, 2021 at 5:38 AM Tom Kincaid wrote: > > > Admittedly I am a novice on this topic, and the majority of the > > > PostgreSQL source code, however I am hopeful enough (those of you who > > > know me understand that I suffer from eternal optimism) that I am > > > going to attempt to help. > > > > > > Is there a design document for a Postgres feature of this size and > > > scope that people feel would serve as a good example? Alternatively, > > > is there a design document template that has been successfully used in > > > the past? > > > > > > > We normally write the design considerations and choices we made with > > the reasons in README and code comments. Personally, I am not sure if > > there is a need for any specific document per-se but a README and > > detailed comments in the code should suffice what people are worried > > about here. > > Right. It could be a README file, or a long comment at a start of one of > the files. It doesn't matter too much. What matters is that people that > haven't been on those phone call can understand the design and the > implications it has. OK, so does the wiki page contain most of what you want, but is missing the connection between the design and the code? https://wiki.postgresql.org/wiki/Transparent_Data_Encryption -- Bruce Momjian https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee