]> granicus.if.org Git - postgresql/commit
Fix btmarkpos/btrestrpos to handle array keys.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 27 Sep 2012 21:00:05 +0000 (17:00 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 27 Sep 2012 21:01:15 +0000 (17:01 -0400)
commitf2366e584aea41b980f23fcf0a2e118efd7fb09b
tree5a62046871cdad32f81dc23c40ab53add47abbb5
parent01546402d4cbf88a66e680be5a9c6f018518050a
Fix btmarkpos/btrestrpos to handle array keys.

This fixes another error in commit 9e8da0f75731aaa7605cf4656c21ea09e84d2eb1.
I neglected to make the mark/restore functionality save and restore the
current set of array key values, which led to strange behavior if an
IndexScan with ScalarArrayOpExpr quals was used as the inner side of a
mergejoin.  Per bug #7570 from Melese Tesfaye.
src/backend/access/nbtree/nbtree.c
src/backend/access/nbtree/nbtutils.c
src/include/access/nbtree.h