pgsql: Fix btmarkpos/btrestrpos to handle array keys. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix btmarkpos/btrestrpos to handle array keys.
Date
Msg-id E1THLD2-00066G-Ts@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/70bc5833195daf64a200ac7b4a8c9aff65cf966f

Modified Files
--------------
src/backend/access/nbtree/nbtree.c   |    8 ++++
src/backend/access/nbtree/nbtutils.c |   59 ++++++++++++++++++++++++++++++++++
src/include/access/nbtree.h          |    3 ++
3 files changed, 70 insertions(+), 0 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix btmarkpos/btrestrpos to handle array keys.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Produce textual error messages for LDAP issues instead of numeri