Fix btmarkpos/btrestrpos to handle array keys.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 70bc5833195daf64a200ac7b4a8c9aff65cf966f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2012-09-27T21:01:02Z
Releases: 9.3.0
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.

Files