doc-exports/docs/dws/dev/dws_04_0785.html
Lu, Huayi a24ca60074 DWS DEVELOPER 811 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2023-01-19 13:37:49 +00:00

5.5 KiB

PG_TDE_INFO

PG_TDE_INFO displays the encryption information about the current cluster.

Table 1 PG_TDE_INFO columns

Name

Type

Description

is_encrypt

text

Whether the cluster is an encryption cluster

  • f: Non-encryption cluster
  • t: Encryption cluster

g_tde_algo

text

Encryption algorithm

  • SM4-CTR-128
  • AES-CTR-128

remain

text

Reserved

Examples

Check whether the current cluster is encrypted, and check the encryption algorithm (if any) used by the current cluster.

1
2
3
4
5
SELECT * FROM PG_TDE_INFO;
 is_encrypt | g_tde_algo  | remain
------------+-------------+--------
 f          | AES-CTR-128 | remain
(1 row)