From: | Antonin Houska <ah(at)cybertec(dot)at> |
---|---|
To: | Andy Fan <zhihui(dot)fan1213(at)gmail(dot)com> |
Cc: | Andrey Lepikhov <a(dot)lepikhov(at)postgrespro(dot)ru>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Suggestions on message transfer among backends |
Date: | 2019-03-12 08:36:30 |
Message-ID: | 6236.1552379790@localhost |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Andy Fan <zhihui(dot)fan1213(at)gmail(dot)com> wrote:
> I just don't know why shm_mq is designed to single-reader & single-writer.
shm_mq was implemented as a part of infrastructure for parallel query
processing. The leader backend launches multiple parallel workers and sets up
a few queues to communicate with each. One queue is used to send request
(query plan) to the worker, one queue is there to receive data from it, and I
think there's one more queue to receive error messages.
--
Antonin Houska
https://www.cybertec-postgresql.com
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2019-03-12 09:23:01 | Re: pg_rewind : feature to rewind promoted standby is broken! |
Previous Message | Kyotaro HORIGUCHI | 2019-03-12 08:27:57 | Re: Pluggable Storage - Andres's take |