mirror of https://github.com/postgres/postgres
parent
7931b29616
commit
5f84e8c92d
@ -1,13 +1,16 @@ |
|||||||
CREATE EXTENSION pg_tde; |
CREATE EXTENSION pg_tde; |
||||||
-- server restart |
-- server restart |
||||||
CREATE TABLE test_enc(id SERIAL,k INTEGER,PRIMARY KEY (id)) USING pg_tde_basic; |
CREATE TABLE test_enc(id SERIAL,k VARCHAR(32),PRIMARY KEY (id)) USING pg_tde_basic; |
||||||
INSERT INTO test_enc (k) VALUES (5),(6); |
INSERT INTO test_enc (k) VALUES ('foobar'),('barfoo'); |
||||||
SELECT * FROM test_enc ORDER BY id ASC; |
SELECT * FROM test_enc ORDER BY id ASC; |
||||||
1|5 |
1|foobar |
||||||
2|6 |
2|barfoo |
||||||
-- server restart |
-- server restart |
||||||
SELECT * FROM test_enc ORDER BY id ASC; |
SELECT * FROM test_enc ORDER BY id ASC; |
||||||
1|5 |
1|foobar |
||||||
2|6 |
2|barfoo |
||||||
|
TABLEFILE FOUND: yes |
||||||
|
|
||||||
|
CONTAINS FOO (should be empty): |
||||||
DROP TABLE test_enc; |
DROP TABLE test_enc; |
||||||
DROP EXTENSION pg_tde; |
DROP EXTENSION pg_tde; |
||||||
|
Loading…
Reference in new issue