pgsql: Consistently allow reading of messages from a detached shm_mq.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Consistently allow reading of messages from a detached shm_mq.
Дата
Msg-id E1WfcV8-0002uN-IP@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Consistently allow reading of messages from a detached shm_mq.

This was intended to work always, but the previous code only allowed
it if at least one message was successfully read by the receiver
before the sender detached the queue.

Report by Petr Jelinek.  Patch by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5ec45bb7fa0a1495a360165a12ba5d6b4587bb4a

Modified Files
--------------
src/backend/storage/ipc/shm_mq.c |    3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Rationalize common/relpath.[hc].
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Improve error messages in reorderbuffer.c.