Skip to content

Commit 5076166

Browse files
committed
-
1 parent 429d225 commit 5076166

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

contrib/pg_exchange/exchange.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,8 +1196,8 @@ EXCHANGE_Execute(CustomScanState *node)
11961196

11971197
if ((state->activeRemotes == 0) && (!state->hasLocal))
11981198
{
1199-
// elog(LOG, "[%s] Exchange returns NULL. Tuples: local=%d, remote=%d",
1200-
// state->stream, state->ltuples, state->rtuples);
1199+
elog(LOG, "[%s] Exchange returns NULL. Tuples: local=%d, remote=%d, send=%d",
1200+
state->stream, state->ltuples, state->rtuples, state->stuples);
12011201
return NULL;
12021202
}
12031203

@@ -1234,6 +1234,7 @@ EXCHANGE_Execute(CustomScanState *node)
12341234
{
12351235
state->stuples++;
12361236
SendTuple(dest, state->stream, slot, false);
1237+
elog(LOG, "Send tuple: %d", state->stuples);
12371238
}
12381239
}
12391240
return NULL;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy