diff options
author | Tomas Vondra | 2016-11-11 00:13:52 +0000 |
---|---|---|
committer | Tomas Vondra | 2016-11-11 00:13:52 +0000 |
commit | 5a3bca06056d41a32e12578d3ce4a25bdd42ba84 (patch) | |
tree | c953d24881d0dfc9a238438364d9f67173f8fbe0 | |
parent | 0124efc3634c5789ee713e4ffef4f3ed95be79c4 (diff) |
fix producerReceiveSlot() to return bool, as expected (was void before)
-rw-r--r-- | src/backend/executor/producerReceiver.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/executor/producerReceiver.c b/src/backend/executor/producerReceiver.c index b7a7033833..d3f3bc8968 100644 --- a/src/backend/executor/producerReceiver.c +++ b/src/backend/executor/producerReceiver.c @@ -72,7 +72,7 @@ producerStartupReceiver(DestReceiver *self, int operation, TupleDesc typeinfo) /* * Receive a tuple from the executor and dispatch it to the proper consumer */ -static void +static bool producerReceiveSlot(TupleTableSlot *slot, DestReceiver *self) { ProducerState *myState = (ProducerState *) self; @@ -122,6 +122,8 @@ producerReceiveSlot(TupleTableSlot *slot, DestReceiver *self) myState->othercount++; } } + + return true; } |