From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add pg_alterckey utility to change the cluster key
Date: Sat, 26 Dec 2020 12:18:18 -0500
Message-ID: <20201226171818.GO19054@momjian.us> (raw)
In-Reply-To: <1284775.1609001141@sss.pgh.pa.us>
References: <E1ksyKP-000471-AI@gemulon.postgresql.org>
<CAFj8pRDAsT+Z+QOS6zEA-1C4K-8NGBk-0gYnJvaP5xD+HW9JKA@mail.gmail.com>
<20201226062043.GH19054@momjian.us>
<CAFj8pRBRNo4co5bqCx4BLx1ZZ45Z_T-opPxA+u7SLp7gAtBpNA@mail.gmail.com>
<CAFj8pRCHbfWC3ahXQNBL7bTGTbbXh7_=bV5KG+SUDBVWRU1+Ng@mail.gmail.com>
<X+b/dR6P4tPpm6kt@paquier.xyz>
<20201226152131.GL19054@momjian.us>
<1284775.1609001141@sss.pgh.pa.us>
On Sat, Dec 26, 2020 at 11:45:41AM -0500, Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > On Sat, Dec 26, 2020 at 06:16:37PM +0900, Michael Paquier wrote:
> >> The CF bot at http://cfbot.cputube.org/ includes tests on Windows, so
> >> those problems would have been detected beforehand. Did you look at
> >> these? If this cannot be fixed, could it be possible to revert
> >> please? It looks rather clear that this has not been tested across
> >> multiple platforms, and the absence of tests to allow the buildfarm to
> >> stress this code does not really help either in gaining confidence
> >> that this is stable.
>
> > I have been working on this patch for almost two months, and wanted to
> > try to get it into the tree near Christmas as sort of a Christmas
> > present to the community.
>
> It's not much of a "Christmas present" to have to spend part of the
> holiday fixing somebody else's obviously under-baked commits.
I thought I could just fix it on my own on that day.
> I think you should revert *all* of this and not come back until
> (a) you have some test cases and (b) somebody besides you has read
> the entire patch. There are way too many beginner-level errors in
> what you've pushed so far.
Magnus pointed out that one big help would have been to add it to the
commitfest, so the cfbot could have warned me of these issues. I
underestimated how much help that would have been. I am also using my
old workflow since I haven't worked on any large patches like this
lately. I guess I am relearning.
I can easily revert and come back, though the buildfarm is green now.
As far as testing, I can test that the cluster key unlocks the data
keys, but there is no current interface to the data keys. Ideally we
would test the full input/output path, but with no access to the output,
how can we test it? Also, as I stated, there are some shell script APIs
that can't easily be tested, e.g. AWS, Yubikey. I can continue to test
those manually.
> And that's not even counting the question
> of whether the design is right to begin with, which somebody already
> expressed doubts about.
What doubts?
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EnterpriseDB https://enterprisedb.com
The usefulness of a cup is in its emptiness, Bruce Lee
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: bruce@momjian.us, tgl@sss.pgh.pa.us, michael@paquier.xyz, pavel.stehule@gmail.com
Subject: Re: pgsql: Add pg_alterckey utility to change the cluster key
In-Reply-To: <20201226171818.GO19054@momjian.us>
References: <E1ksyKP-000471-AI@gemulon.postgresql.org> <CAFj8pRDAsT+Z+QOS6zEA-1C4K-8NGBk-0gYnJvaP5xD+HW9JKA@mail.gmail.com> <20201226062043.GH19054@momjian.us> <CAFj8pRBRNo4co5bqCx4BLx1ZZ45Z_T-opPxA+u7SLp7gAtBpNA@mail.gmail.com> <CAFj8pRCHbfWC3ahXQNBL7bTGTbbXh7_=bV5KG+SUDBVWRU1+Ng@mail.gmail.com> <X+b/dR6P4tPpm6kt@paquier.xyz> <20201226152131.GL19054@momjian.us> <1284775.1609001141@sss.pgh.pa.us> <20201226171818.GO19054@momjian.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