projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4496226
)
Fix TupleQueueReaderNext not to ignore its nowait argument.
author
Robert Haas
<rhaas@postgresql.org>
Fri, 18 Dec 2015 17:37:43 +0000
(12:37 -0500)
committer
Robert Haas
<rhaas@postgresql.org>
Fri, 18 Dec 2015 17:37:43 +0000
(12:37 -0500)
This was a silly goof on my (rhaas's) part.
Report and fix by Rushabh Lathia.
src/backend/executor/tqueue.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/executor/tqueue.c
b/src/backend/executor/tqueue.c
index d625b0d800ba50e34a79f941b56de58163ae5586..276956e3f148c57ceccc893cfda3e07997cf7195 100644
(file)
--- a/
src/backend/executor/tqueue.c
+++ b/
src/backend/executor/tqueue.c
@@
-535,7
+535,7
@@
TupleQueueReaderNext(TupleQueueReader *reader, bool nowait, bool *done)
void *data;
/* Attempt to read a message. */
- result = shm_mq_receive(reader->queue, &nbytes, &data,
true
);
+ result = shm_mq_receive(reader->queue, &nbytes, &data,
nowait
);
/* If queue is detached, set *done and return NULL. */
if (result == SHM_MQ_DETACHED)