Change ginMergeItemPointers to return a palloc'd array.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Change ginMergeItemPointers to return a palloc'd array. That seems nicer than making it the caller's responsibility to pass a suitable-sized array. All the callers were just palloc'ing an array anyway.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/gin/gindatapage.c | modified | +3 −4 |
| src/backend/access/gin/gininsert.c | modified | +3 −6 |
| src/backend/access/gin/ginpostinglist.c | modified | +21 −19 |
| src/include/access/gin_private.h | modified | +3 −3 |