fix calls to tuplesort_gettupleslot() from execRemote.c
authorTomas Vondra <[email protected]>
Mon, 7 Nov 2016 19:38:31 +0000 (20:38 +0100)
committerTomas Vondra <[email protected]>
Mon, 7 Nov 2016 19:38:31 +0000 (20:38 +0100)
There's a fourth argument (abbrev), so just pass NULL.

src/backend/pgxc/pool/execRemote.c

index 105b4ebf05a659f3b3a1dfaa34e98bb99a298c55..8141daf14b0f9c89635cb4d5f11b5987f001ae4e 100644 (file)
@@ -4693,7 +4693,7 @@ ExecRemoteQuery(RemoteQueryState *node)
        if (combiner->tuplesortstate)
        {
                if (tuplesort_gettupleslot((Tuplesortstate *) combiner->tuplesortstate,
-                                                                         true, resultslot))
+                                                                         true, resultslot, NULL))
                        return resultslot;
                else
                        ExecClearTuple(resultslot);
@@ -6027,7 +6027,7 @@ primary_mode_phase_two:
        if (combiner->tuplesortstate)
        {
                if (tuplesort_gettupleslot((Tuplesortstate *) combiner->tuplesortstate,
-                                                                  true, resultslot))
+                                                                  true, resultslot, NULL))
                {
                        if (log_remotesubplan_stats)
                                ShowUsageCommon("ExecRemoteSubplan", &start_r, &start_t);