BUG #13994: Documentation of pg_notify is incorrect.

From: junkmesend(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #13994: Documentation of pg_notify is incorrect.
Date: 2016-02-28 23:20:40
Message-ID: 20160228232040.10551.18290@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 13994
Logged by: Peter McGeeney
Email address: junkmesend(at)gmail(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David Gould 2016-02-28 23:37:35 Re: BUG #13994: Documentation of pg_notify is incorrect.
Previous Message mathias.zajaczkowski 2016-02-28 20:08:12 BUG #13993: Temp sequence does not seem to be properly deleted