Skip to content

Commit

Permalink
Updated release notes and docs with pg_tde_basic access method
Browse files Browse the repository at this point in the history
	modified:   documentation/docs/release-notes/release-notes.md
	modified:   documentation/docs/test.md
	modified:   documentation/mkdocs.yml
  • Loading branch information
nastena1606 committed Jul 16, 2024
1 parent b5ef829 commit 4c8fe18
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion documentation/docs/release-notes/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@

## Beta (2024-06-30)

With this version, the access method for `pg_tde` extension is renamed `pg_tde_basic`. Use this access method name to create tables. Find guidelines in [Test TDE](../test.md) tutorial.

The Beta version introduces the following bug fixes and improvements:

* Fixed the issue with `pg_tde` running out of memory used for decrypted tuples. The fix introduces the new component `TDEBufferHeapTupleTableSlot` that keeps track of the allocated memory for decrypted tuples and frees this memory when the tuple slot is no longer needed.

* Fixed the issue with adjusting a current position in a file by using raw file descriptor for the lseek function. (Thanks to user _rainhard_ for providing the fix)
* Fixed the issue with adjusting a current position in a file by using raw file descriptor for the `lseek` function. (Thanks to user _rainhard_ for providing the fix)

* Enhanced the init script to consider a custom superuser for the POSTGRES_USER parameter when `pg_tde` is running via Docker (Thanks to _Alejandro Paredero_ for reporting the issue)

Expand Down
8 changes: 4 additions & 4 deletions documentation/docs/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

To check if the data is encrypted, do the following:

1. Create a table in the database for which you have [enabled `pg_tde`](setup.md). Enabling `pg_tde` extension creates the table access method `pg_tde`. To enable data encryption, create the table using this access method as follows:
1. Create a table in the database for which you have [enabled `pg_tde`](setup.md). Enabling `pg_tde` extension creates the table access method `pg_tde_basic`. To enable data encryption, create the table using this access method as follows:

```sql
CREATE TABLE <table_name> (<field> <datatype>) USING pg_tde;
CREATE TABLE <table_name> (<field> <datatype>) USING pg_tde_basic;
```

!!! hint

You can enable data encryption by default by setting the `default_table_access_method` to `pg_tde`:
You can enable data encryption by default by setting the `default_table_access_method` to `pg_tde_basic`:

```sql
SET default_table_access_method = pg_tde;
SET default_table_access_method = pg_tde_basic;
```

2. Run the following function:
Expand Down
2 changes: 1 addition & 1 deletion documentation/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ nav:
- How to:
- Use reference to external parameters: external-parameters.md
- Release notes:
- "pg_tde tech preview": release-notes/release-notes.md
- "pg_tde release notes": release-notes/release-notes.md
- uninstall.md
- contribute.md

Expand Down

0 comments on commit 4c8fe18

Please sign in to comment.