Re: Multiple NOTIFY is ignored

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Markus Kolb <markus(dot)kolb+postgres(at)tower-net(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Multiple NOTIFY is ignored
Date: 2016-07-28 16:31:19
Message-ID: 9931a862-27bd-ba48-48c3-e04c061979b0@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 07/28/2016 07:50 AM, Markus Kolb wrote:
> Am 28.07.2016 16:42, schrieb Adrian Klaver:
>> On 07/28/2016 07:29 AM, Markus Kolb wrote:
>
> [...]
>>> So why the 2nd notify is not delivered/recognized?
>>
>> At a guess the second NOTIFY is not completed by ;
>
> It is no problem of syntax.
> If this would be the case I would get an error/exception.
> There is no exception.
>
> I think dblink knows how to handle the missing ; at the end.
> You need to use ; only between multiple commands.

Well to me it looks like it is seeing the first NOTIFY, but not the
second. Given Tom's post, you might want to double check the commands
you are supplying to {3} are really what you think they are.

>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alex Ignatov 2016-07-28 16:32:39 Re: Uber migrated from Postgres to MySQL
Previous Message Moreno Andreo 2016-07-28 16:27:41 Re: WAL directory size calculation