mirror of
https://github.com/postgres/postgres.git
synced 2025-06-05 00:02:04 -04:00
Make sure we have tests which fetch KMIP and Vault keys
Before this we had no coverage of the code path for successfully fetching a KMIP key from the key provider.
This commit is contained in:
parent
44c3619f5e
commit
033f7cae77
@ -27,5 +27,11 @@ SELECT * from test_enc;
|
|||||||
3 | 3
|
3 | 3
|
||||||
(3 rows)
|
(3 rows)
|
||||||
|
|
||||||
|
SELECT pg_tde_verify_key();
|
||||||
|
pg_tde_verify_key
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
(1 row)
|
||||||
|
|
||||||
DROP TABLE test_enc;
|
DROP TABLE test_enc;
|
||||||
DROP EXTENSION pg_tde;
|
DROP EXTENSION pg_tde;
|
||||||
|
@ -44,5 +44,11 @@ SELECT * from test_enc;
|
|||||||
3 | 3
|
3 | 3
|
||||||
(3 rows)
|
(3 rows)
|
||||||
|
|
||||||
|
SELECT pg_tde_verify_key();
|
||||||
|
pg_tde_verify_key
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
(1 row)
|
||||||
|
|
||||||
DROP TABLE test_enc;
|
DROP TABLE test_enc;
|
||||||
DROP EXTENSION pg_tde;
|
DROP EXTENSION pg_tde;
|
||||||
|
@ -15,6 +15,8 @@ INSERT INTO test_enc (k) VALUES (3);
|
|||||||
|
|
||||||
SELECT * from test_enc;
|
SELECT * from test_enc;
|
||||||
|
|
||||||
|
SELECT pg_tde_verify_key();
|
||||||
|
|
||||||
DROP TABLE test_enc;
|
DROP TABLE test_enc;
|
||||||
|
|
||||||
DROP EXTENSION pg_tde;
|
DROP EXTENSION pg_tde;
|
||||||
|
@ -27,6 +27,8 @@ INSERT INTO test_enc (k) VALUES (3);
|
|||||||
|
|
||||||
SELECT * from test_enc;
|
SELECT * from test_enc;
|
||||||
|
|
||||||
|
SELECT pg_tde_verify_key();
|
||||||
|
|
||||||
DROP TABLE test_enc;
|
DROP TABLE test_enc;
|
||||||
|
|
||||||
DROP EXTENSION pg_tde;
|
DROP EXTENSION pg_tde;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user