Re: A simple extension immitating pg_notify

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: A simple extension immitating pg_notify
Date: 2016-07-24 07:21:35
Message-ID: 58f25c32-7c86-abaf-f1d6-34ae744e9951@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7/23/2016 8:24 PM, Mehran Ziadloo wrote:
> I'm looking for a way to send notifications from within one database to
> another. As if pg_notify accepted a database name, or even to all of the
> databases. So far I could not find a way to do so. Then someone told
> me that I
> need to implement this feature myself and add it PostgreSQL as an
> extension.
>
> Being new to extension development, I have no idea where to start. Can
> someone
> please guide me to the right direction? I'm sure implementing such a
> function
> is pretty simple but only if you know where to start, which I don't!
>

how would a 'database' receive a notification? notifications are sent
from SQL running on the database server to a listening client app.

--
john r pierce, recycling bits in santa cruz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mehran Ziadloo 2016-07-24 10:31:45 Re: A simple extension immitating pg_notify
Previous Message Mehran Ziadloo 2016-07-24 03:24:39 A simple extension immitating pg_notify