Re: pgsql: Add pg_alterckey utility to change the cluster key

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Add pg_alterckey utility to change the cluster key
Date: 2020-12-26 05:18:01
Message-ID: CAFj8pRDAsT+Z+QOS6zEA-1C4K-8NGBk-0gYnJvaP5xD+HW9JKA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Hi

so 26. 12. 2020 v 2:25 odesílatel Bruce Momjian <bruce(at)momjian(dot)us> napsal:

> Add pg_alterckey utility to change the cluster key
>
> This can change the key that encrypts the data encryption keys used for
> cluster file encryption.
>
> Discussion: https://postgr.es/m/20201202213814.GG20285@momjian.us
>
> Backpatch-through: master
>
> Branch
> ------
> master
>
> Details
> -------
>
> https://git.postgresql.org/pg/commitdiff/62afb42a7f9f533efc6c19f462c3a848fa4ddb63
>
> Modified Files
> --------------
> doc/src/sgml/ref/pg_alterkey.sgml | 186 ++++++++++
> src/bin/Makefile | 1 +
> src/bin/pg_alterckey/.gitignore | 1 +
> src/bin/pg_alterckey/Makefile | 44 +++
> src/bin/pg_alterckey/pg_alterckey.c | 693
> ++++++++++++++++++++++++++++++++++++
> 5 files changed, 925 insertions(+)
>

Broken tests

make[2]: Vstupuje se do adresáře
„/home/pavel/src/postgresql.master/src/bin/pg_alterckey“
rm -rf '/home/pavel/src/postgresql.master/src/bin/pg_alterckey'/tmp_check
/usr/bin/mkdir -p
'/home/pavel/src/postgresql.master/src/bin/pg_alterckey'/tmp_check
cd . && TESTDIR='/home/pavel/src/postgresql.master/src/bin/pg_alterckey'
PATH="/home/pavel/src/postgresql.master/tmp_install/usr/local/pgsql/master/bin:$PATH"
LD_LIBRARY_PATH="/home/pavel/src/postgresql.master/tmp_install/usr/local/pgsql/master/lib"
PGPORT='65432'
PG_REGRESS='/home/pavel/src/postgresql.master/src/bin/pg_alterckey/../../../src/test/regress/pg_regress'
REGRESS_SHLIB='/home/pavel/src/postgresql.master/src/test/regress/regress.so'
/usr/bin/prove -I ../../../src/test/perl/ -I . t/*.pl
Cannot detect source of 't/*.pl'! at
/usr/share/perl5/vendor_perl/TAP/Parser/IteratorFactory.pm line 256.
TAP::Parser::IteratorFactory::detect_source(TAP::Parser::IteratorFactory=HASH(0x5570abd663d0),
TAP::Parser::Source=HASH(0x5570abc36df8)) called at
/usr/share/perl5/vendor_perl/TAP/Parser/IteratorFactory.pm line 211
TAP::Parser::IteratorFactory::make_iterator(TAP::Parser::IteratorFactory=HASH(0x5570abd663d0),
TAP::Parser::Source=HASH(0x5570abc36df8)) called at
/usr/share/perl5/vendor_perl/TAP/Parser.pm line 472
TAP::Parser::_initialize(TAP::Parser=HASH(0x5570abc36a50),
HASH(0x5570ab9ce938)) called at /usr/share/perl5/vendor_perl/TAP/Object.pm
line 55
TAP::Object::new("TAP::Parser", HASH(0x5570ab9ce938)) called at
/usr/share/perl5/vendor_perl/TAP/Object.pm line 130
TAP::Object::_construct(TAP::Harness=HASH(0x5570ab8f61f0), "TAP::Parser",
HASH(0x5570ab9ce938)) called at /usr/share/perl5/vendor_perl/TAP/Harness.pm
line 852
TAP::Harness::make_parser(TAP::Harness=HASH(0x5570ab8f61f0),
TAP::Parser::Scheduler::Job=HASH(0x5570abc07428)) called at
/usr/share/perl5/vendor_perl/TAP/Harness.pm line 651
TAP::Harness::_aggregate_single(TAP::Harness=HASH(0x5570ab8f61f0),
TAP::Parser::Aggregator=HASH(0x5570ab46ad90),
TAP::Parser::Scheduler=HASH(0x5570abc073f8)) called at
/usr/share/perl5/vendor_perl/TAP/Harness.pm line 743
TAP::Harness::aggregate_tests(TAP::Harness=HASH(0x5570ab8f61f0),
TAP::Parser::Aggregator=HASH(0x5570ab46ad90), "t/*.pl") called at
/usr/share/perl5/vendor_perl/TAP/Harness.pm line 558
TAP::Harness::__ANON__() called at
/usr/share/perl5/vendor_perl/TAP/Harness.pm line 571
TAP::Harness::runtests(TAP::Harness=HASH(0x5570ab8f61f0), "t/*.pl") called
at /usr/share/perl5/vendor_perl/App/Prove.pm line 548
App::Prove::_runtests(App::Prove=HASH(0x5570ab432868),
HASH(0x5570ab8b6af0), "t/*.pl") called at
/usr/share/perl5/vendor_perl/App/Prove.pm line 506
App::Prove::run(App::Prove=HASH(0x5570ab432868)) called at /usr/bin/prove
line 10
make[2]: *** [Makefile:41: check] Chyba 2
make[2]: Opouští se adresář
„/home/pavel/src/postgresql.master/src/bin/pg_alterckey“
make[1]: *** [Makefile:43: check-pg_alterckey-recurse] Chyba 2
make[1]: Opouští se adresář „/home/pavel/src/postgresql.master/src/bin“
make: *** [GNUmakefile:71: check-world-src/bin-recurse] Chyba 2

Regards

Pavel

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2020-12-26 06:10:35 pgsql: doc: fix SGML markup for pg_alterckey from commit 62afb42a7f
Previous Message Michael Paquier 2020-12-26 03:49:58 Re: pgsql: Add pg_alterckey utility to change the cluster key

Browse pgsql-hackers by date

  From Date Subject
Next Message Dilip Kumar 2020-12-26 05:40:57 Re: Parallel Inserts in CREATE TABLE AS
Previous Message Pavel Stehule 2020-12-26 04:52:44 Re: proposal: schema variables