Re: Suggestions on message transfer among backends - Mailing list pgsql-hackers

From Antonin Houska
Subject Re: Suggestions on message transfer among backends
Date
Msg-id 6236.1552379790@localhost
Whole thread Raw
In response to Re: Suggestions on message transfer among backends  (Andy Fan <zhihui.fan1213@gmail.com>)
Responses Re: Suggestions on message transfer among backends
List pgsql-hackers
Andy Fan <zhihui.fan1213@gmail.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


pgsql-hackers by date:

Previous
From: Kyotaro HORIGUCHI
Date:
Subject: Re: Pluggable Storage - Andres's take
Next
From: Sergei Kornilov
Date:
Subject: Re: Offline enabling/disabling of data checksums