Bug in TupleQueueReaderNext() ? - Mailing list pgsql-hackers

From Rushabh Lathia
Subject Bug in TupleQueueReaderNext() ?
Date
Msg-id CAGPqQf0izEgvLgk7UBAVRRN+CcCfBZQWpcn8Ez30kPKwATqKjQ@mail.gmail.com
Whole thread Raw
Responses Re: Bug in TupleQueueReaderNext() ?
List pgsql-hackers
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 queue.

PFA to fix the same.

Regards,
Rushabh Lathia
Attachment

pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: extend pgbench expressions with functions
Next
From: Jeff Janes
Date:
Subject: Re: Disabling an index temporarily