-
Notifications
You must be signed in to change notification settings - Fork 900
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compression for tables with large oids
When trying to compress a table with an oid > 2^31 an error about bitmapset not allowing negative members would be raised because we tried to store the oids in a bitmapset. Oids should not be stored in Bitmapsets as storing Oids that way is very inefficient and may potentially consume a lot of memory depending on the values of the oids. Storing them as list is more efficient instead.
- Loading branch information
Showing
2 changed files
with
12 additions
and
10 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,3 @@ | ||
Fixes: #6275 Fix negative bitmapset member not allowed in compression | ||
|
||
Thanks: @torazem for reporting an issue with compression and large oids |
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