Percona-Lab / pg_tde

MIT License
107 stars 19 forks source link

No errors, even if user don't sepcify any Keyring configuration #46

Closed jobinau closed 11 months ago

jobinau commented 11 months ago
postgres=# show pg_tde.keyringconfigfile ;
 pg_tde.keyringConfigFile 
--------------------------

(1 row)

postgres=# \dt+
                                      List of relations
 Schema |  Name   | Type  |  Owner   | Persistence | Access method |    Size    | Description 
--------+---------+-------+----------+-------------+---------------+------------+-------------
 public | sbtest1 | table | postgres | permanent   | pg_tde        | 0 bytes    | 
 public | t1      | table | postgres | permanent   | heap          | 8192 bytes | 
 public | t2      | table | postgres | permanent   | pg_tde        | 8192 bytes | 
 public | t3      | table | postgres | permanent   | heap          | 8192 bytes | 
(4 rows)

postgres=# select * from t2;
 id 
----
  1
  2
(2 rows)

postgres=# create table t4 (id int) using pg_tde;
CREATE TABLE