-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Labels
Description
pg_bulkload has codes related to nbtsort in "lib/nbtree/nbtsort-XX.c", which XX is each postgresql's version. And it has both postgresql's code and functions for only pg_bulkloads.
For maintenability, it's better to refactor "nbtsort-XX.c" and become "nbtsort-XX.c" to be just a copy of PostgreSQL's "src/backend/access/nbtree/nbtsort.c". So, this issue handles the followings.
- If there are functions for only pg_bulkload in "lib/nbtree/nbtsort-XX.c", move the functions to "lib/nbtree/nbtsort-common.c"
- Copy PostgreSQL's latest stable "src/backend/access/nbtree/nbtsort.c" to "lib/nbtree/nbtsort-XX.c"