pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix btmarkpos/btrestrpos to handle array keys. 2+ messages / 1 participants [nested] [flat]
* pgsql: Fix btmarkpos/btrestrpos to handle array keys. @ 2012-09-27 21:01 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2012-09-27 21:01 UTC (permalink / raw) To: 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(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Fix btmarkpos/btrestrpos to handle array keys. @ 2012-09-27 21:01 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2012-09-27 21:01 UTC (permalink / raw) To: 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 ------ 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(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2012-09-27 21:01 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2012-09-27 21:01 pgsql: Fix btmarkpos/btrestrpos to handle array keys. Tom Lane <tgl@sss.pgh.pa.us> 2012-09-27 21:01 pgsql: Fix btmarkpos/btrestrpos to handle array keys. Tom Lane <tgl@sss.pgh.pa.us>
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