BUG #13994: Documentation of pg_notify is incorrect. - Mailing list pgsql-bugs

From junkmesend@gmail.com
Subject BUG #13994: Documentation of pg_notify is incorrect.
Date
Msg-id 20160228232040.10551.18290@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #13994: Documentation of pg_notify is incorrect.
Re: BUG #13994: Documentation of pg_notify is incorrect.
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      13994
Logged by:          Peter McGeeney
Email address:      junkmesend@gmail.com
PostgreSQL version: 9.5.1
Operating system:   Windows 8.1
Description:

The documentation at

http://www.postgresql.org/docs/9.5/static/sql-notify.html

Recommends the command...

SELECT pg_notify('fo' || 'o', 'pay' || 'load');

which doesn't work but

PERFORM pg_notify('fo' || 'o', 'pay' || 'load');

does work, as explained here.

http://stackoverflow.com/questions/5412474/using-pg-notify-in-postgresql-trigger-function?lq=1

Please note that this is nothing to do with the uppercase issue with
pg_notify here...

http://www.postgresql.org/message-id/201103031520.p23FKxFJ049037@wwwmaster.postgresql.org

Many thanks

Pete

pgsql-bugs by date:

Previous
From: mathias.zajaczkowski@ubik.ch
Date:
Subject: BUG #13993: Temp sequence does not seem to be properly deleted
Next
From: David Gould
Date:
Subject: Re: BUG #13994: Documentation of pg_notify is incorrect.