From c25fc44a73e9337002becec0eeb869e4bc0c97ea Mon Sep 17 00:00:00 2001 From: Tomas Vondra Date: Sat, 4 Mar 2017 00:03:01 +0100 Subject: [PATCH] accept plan (added RemoteSubplan) in LockRows query ('select' suite) Expected plan change for a new query added in the upstream, due to adding RemoteSubplan at the top. --- src/test/regress/expected/select.out | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/test/regress/expected/select.out b/src/test/regress/expected/select.out index d679fb3fe4..174d3b655f 100644 --- a/src/test/regress/expected/select.out +++ b/src/test/regress/expected/select.out @@ -812,13 +812,14 @@ select unique2 from onek2 where unique2 = 11 and stringu1 < 'B'; -- but if it's an update target, must retest anyway explain (costs off) select unique2 from onek2 where unique2 = 11 and stringu1 < 'B' for update; - QUERY PLAN ------------------------------------------------ - LockRows - -> Index Scan using onek2_u2_prtl on onek2 - Index Cond: (unique2 = 11) - Filter: (stringu1 < 'B'::name) -(4 rows) + QUERY PLAN +----------------------------------------------------- + Remote Subquery Scan on all (datanode_1,datanode_2) + -> LockRows + -> Index Scan using onek2_u2_prtl on onek2 + Index Cond: (unique2 = 11) + Filter: (stringu1 < 'B'::name) +(5 rows) select unique2 from onek2 where unique2 = 11 and stringu1 < 'B' for update; unique2 -- 2.39.5