Re: Bug in TupleQueueReaderNext() ?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Bug in TupleQueueReaderNext() ?
Дата
Msg-id CA+TgmoZefSPfcTQ4KkEEkFfevsrbOs2ksms_PqShWkcMiwYuUg@mail.gmail.com
обсуждение исходный текст
Ответ на Bug in TupleQueueReaderNext() ?  (Rushabh Lathia <rushabh.lathia@gmail.com>)
Список pgsql-hackers
On Wed, Dec 16, 2015 at 1:09 AM, Rushabh Lathia
<rushabh.lathia@gmail.com> 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() to wait
> until it gets the tuple from the particular queue.

Boy, that's an embarassing mistake.  *blushes*

Thanks for the report and fix.  Committed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Re: Reusing abbreviated keys during second pass of ordered [set] aggregates
Следующее
От: Tom Lane
Дата:
Сообщение: Schedule plans for upcoming Postgres releases