|
|
@ -16,7 +16,6 @@ CREATE TABLE country_table ( |
|
|
|
country_name varchar(32) unique not null, |
|
|
|
country_name varchar(32) unique not null, |
|
|
|
continent varchar(32) not null |
|
|
|
continent varchar(32) not null |
|
|
|
) USING tde_heap; |
|
|
|
) USING tde_heap; |
|
|
|
|
|
|
|
|
|
|
|
INSERT INTO country_table (country_name, continent) |
|
|
|
INSERT INTO country_table (country_name, continent) |
|
|
|
VALUES ('Japan', 'Asia'), |
|
|
|
VALUES ('Japan', 'Asia'), |
|
|
|
('UK', 'Europe'), |
|
|
|
('UK', 'Europe'), |
|
|
@ -158,7 +157,6 @@ CREATE TABLE country_table3 ( |
|
|
|
continent text not null |
|
|
|
continent text not null |
|
|
|
) USING heap; |
|
|
|
) USING heap; |
|
|
|
ERROR: pg_tde.enforce_encryption is ON, only the tde_heap access method is allowed. |
|
|
|
ERROR: pg_tde.enforce_encryption is ON, only the tde_heap access method is allowed. |
|
|
|
|
|
|
|
|
|
|
|
ALTER TABLE country_table SET ACCESS METHOD heap; |
|
|
|
ALTER TABLE country_table SET ACCESS METHOD heap; |
|
|
|
ERROR: pg_tde.enforce_encryption is ON, only the tde_heap access method is allowed. |
|
|
|
ERROR: pg_tde.enforce_encryption is ON, only the tde_heap access method is allowed. |
|
|
|
ALTER TABLE country_table2 SET ACCESS METHOD tde_heap; |
|
|
|
ALTER TABLE country_table2 SET ACCESS METHOD tde_heap; |
|
|
|