PostgreSQL/contrib/pg_tde/expected/no_provider_error.out
Artem Gavrilov 959a6b65c1
PG-1457 Rename principal key on user API level to just a key (#154)
PG-1457

Replace `principal key` with just a `key` on user API level, as it's the only key that user can directly interact with.
2025-04-10 19:56:54 +02:00

9 lines
274 B
Plaintext

CREATE EXTENSION pg_tde;
-- should fail
CREATE TABLE t1 (n INT) USING tde_heap;
ERROR: failed to retrieve principal key. Create one using pg_tde_set_key before using encrypted tables.
-- should work
CREATE TABLE t2 (n INT) USING heap;
DROP TABLE t2;
DROP EXTENSION pg_tde;