NOTIFY does not work as expected

From: Andrey <parihaaraka(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: NOTIFY does not work as expected
Date: 2018-07-02 20:33:49
Message-ID: CAOYf6ec-TmRYjKBXLLaGaB-jrd=mjG1Hzn1a1wufUAR39PQYhw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PostgreSQL 9.6.9, 10.4 (broken):
A: listen test;
A: select pg_sleep(5);
1
2
B: notify test, 'test1';
3
4
5
A: done
6
7
8
9
B: notify test, 'test2';
A:
* notification received:
server process id: 2837
channel: test
payload: test
* notification received:
server process id: 2837
channel: test
payload: test2

PostgreSQL 9.6.2 and earlier (workds as expected)
A: listen test;
A: select pg_sleep(5);
1
2
B: notify test, 'test1';
3
4
5
A: done
A:
* notification received:
server process id: 2837
channel: test
payload: test
6
7
8
9
B: notify test, 'test2';
A:
* notification received:
server process id: 2837
channel: test
payload: test2

----------------
* This is not client-side problem - I've verified it via Wireshark.
** I've caught the bug on Postres Pro Std builds, but according to the fact
that these builds are mostly identical, the bug is related to both of them.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Jeff Janes 2018-07-03 00:37:21 Re: NOTIFY does not work as expected
Previous Message PG Bug reporting form 2018-07-02 12:00:51 BUG #15259: intarray extension operator "&" produces invalid dimensions [1:0] for empty arrays