Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
darold committed Apr 13, 2024
1 parent 5c3a9f9 commit d80542b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,12 @@ on global temporary table.
#### Global Temporary Table usage

When `pgtt.enabled` is true (default) and the extension have been
loaded (`session_preload_libraries = 'pgtt' or in a session `LOAD 'pgtt';`)
loaded using any of the three methods:

- `session_preload_libraries = 'pgtt'` in postgresql.conf
- `ALTER DATABASE mydb SET session_preload_libraries = 'pgtt'`
- in a session `LOAD 'pgtt';`

the first access to the table using a SELECT, UPDATE or DELETE statement
will produce the creation of a temporary table using the definition of the
"template" table created during the call to `CREATE GLOBAL TEMPORARY TABLE`
Expand Down

0 comments on commit d80542b

Please sign in to comment.