-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ao_filehandler for new attnum-filenum changes
The new attnum-filenum changes on pg_attribute_encoding introduced in cdd03c165ad and the column rewrite operations introduced in last commit changes the range of aocs files on disk. The column filename is now dependent on the filenums and not attnums. This commit changes how we look for possible aocs column files on disk for a table Earlier we used to only have files in order based on natts. Now, as the column can be rewritten we also need to check the filenum pair (i, i+MaxHeapAttributeNumber) of every filenum. Co-authored-by: Soumyadeep Chakraborty <[email protected]> Co-authored-by: Ashwin Agrawal <[email protected]> Co-authored-by: Huansong Fu <[email protected]>
- Loading branch information
Showing
2 changed files
with
82 additions
and
51 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
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