-
Notifications
You must be signed in to change notification settings - Fork 910
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Block TAM rewrites with incompatible GUC setting
The GUC timescaledb.enable_transparent_decompression can be set to 'hypercore' when using Hypercore TAM in order to get a DecompressChunk plan. This will make a scan read only non-compressed data from the TAM, and is used for debugging. Howver, the setting can be dangerous if a chunk is rewritten by decompression or vaccum full, leading to data loss. Therefore, block rewrite operations on Hypercore TAM when the GUC is set to 'hypercore'. Also remove the possibility to use this GUC value entirely in release builds. (cherry picked from commit c957433)
- Loading branch information
1 parent
3092001
commit cc45afc
Showing
6 changed files
with
54 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fixes: #7747 Block TAM rewrites with incompatible GUC setting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters