Skip to content

Commit

Permalink
Change access method to pg_tde_basic
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Wagner <[email protected]>
  • Loading branch information
ImTheKai committed Jul 23, 2024
1 parent 277942f commit 64d72c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ FUNCTION pg_tde_set_principal_key (
SELECT pg_tde_set_principal_key('my-principal-key','file');
```

7. You are all set to create encrypted tables. For that, specify `USING pg_tde` in the `CREATE TABLE` statement.
7. You are all set to create encrypted tables. For that, specify `USING pg_tde_basic` access method in the `CREATE TABLE` statement.
**For example**:
```sql
CREATE TABLE albums (
album_id INTEGER GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
artist_id INTEGER,
title TEXT NOT NULL,
released DATE NOT NULL
) USING pg_tde;
) USING pg_tde_basic;
```

## Build from source
Expand Down

0 comments on commit 64d72c7

Please sign in to comment.