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

From Euler Taveira
Subject Re: Suggestions on message transfer among backends
Date
Msg-id CAHE3wgiUmLyA54qKar=eMbfCEJJOrgYKrffWX0hv0euNPADZnw@mail.gmail.com
Whole thread Raw
In response to Suggestions on message transfer among backends  (Andy Fan <zhihui.fan1213@gmail.com>)
Responses Re: Suggestions on message transfer among backends
List pgsql-hackers
Em seg, 11 de mar de 2019 às 10:36, Andy Fan
<zhihui.fan1213@gmail.com> escreveu:
>
>   I need some function which requires some message exchange among different back-ends (connections).
> specially I need a shared hash map and a message queue.
>
It seems you are looking for LISTEN/NOTIFY. However, if it is part of
a complex solution, a background worker with shared memory access is
the way to go.


--
   Euler Taveira                                   Timbira -
http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento


pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: proposal: variadic argument support for least, greatest function
Next
From: Tom Lane
Date:
Subject: Use nanosleep(2) in pg_usleep, if available?