pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix btmarkpos/btrestrpos to handle array keys.
Date: Thu, 27 Sep 2012 21:01:24 +0000
Message-ID: <E1THLD2-00066I-Uu@gemulon.postgresql.org> (raw)

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
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f2366e584aea41b980f23fcf0a2e118efd7fb09b

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(-)



view thread (2+ messages)

Message-ID: <E1THLD2-00066I-Uu@gemulon.postgresql.org>
Permalink:  ../E1THLD2-00066I-Uu@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1THLD2-00066I-Uu@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Fix btmarkpos/btrestrpos to handle array keys.
  In-Reply-To: <E1THLD2-00066I-Uu@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox