mirror of
https://github.com/postgres/postgres.git
synced 2025-06-19 00:01:45 -04:00
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.
9 lines
274 B
Plaintext
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;
|