Re: [HACKERS] Bug in TupleQueueReaderNext() ?

2015-12-18 Thread Robert Haas
On Wed, Dec 16, 2015 at 1:09 AM, Rushabh Lathia wrote: > TupleQueueReaderNext() always pass true for the nowait into > shm_mq_receive() call. I think here it need to pass the nowait > which is passed by the caller of TupleQueueReaderNext. > > This is usefull if the caller want TupleQueueReaderNext

[HACKERS] Bug in TupleQueueReaderNext() ?

2015-12-15 Thread Rushabh Lathia
Hi All, TupleQueueReaderNext() always pass true for the nowait into shm_mq_receive() call. I think here it need to pass the nowait which is passed by the caller of TupleQueueReaderNext. This is usefull if the caller want TupleQueueReaderNext() to wait until it gets the tuple from the particular q