]> granicus.if.org Git - postgresql/commit
Change ginMergeItemPointers to return a palloc'd array.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 24 Mar 2014 16:40:26 +0000 (18:40 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 24 Mar 2014 16:44:40 +0000 (18:44 +0200)
commitbb42e21be274a71f6868ce2fc8fae2c15c3ecf66
tree63cebcd2886c1b73f52c0f169fdbe0738ce30248
parentcf5d38f4b9bcdf035c46ca8b3e5442557a21ef34
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.
src/backend/access/gin/gindatapage.c
src/backend/access/gin/gininsert.c
src/backend/access/gin/ginpostinglist.c
src/include/access/gin_private.h