BUG #5911: pg_notify() function only works when channel name is lower case

Поиск
Список
Период
Сортировка
От Joshua McDougall
Тема BUG #5911: pg_notify() function only works when channel name is lower case
Дата
Msg-id 201103031520.p23FKxFJ049037@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #5911: pg_notify() function only works when channel name is lower case  (Merlin Moncure <mmoncure@gmail.com>)
Re: BUG #5911: pg_notify() function only works when channel name is lower case  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      5911
Logged by:          Joshua McDougall
Email address:      josh@schemaverse.com
PostgreSQL version: 9.0.3
Operating system:   Slackware Linux  Kernel  2.6.28.6
Description:        pg_notify() function only works when channel name is
lower case
Details:

When using the pg_notify(text,text) function, the channel name MUST be lower
case otherwise the message does not go through.

So, while this will work:

LISTEN ERRORCHANNEL;
NOTIFY ERRORCHANNEL, 'something!';
NOTIFY eRrorChanNel, 'something!';

this will not:
SELECT pg_notify('ERRORCHANNEL','something!');

You must use:
SELECT pg_notify('errorchannel','something!');

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "tushar"
Дата:
Сообщение: BUG #5909: Function pg_get_expr throwing error for non superuser
Следующее
От: Robert Haas
Дата:
Сообщение: Re: BUG #5827: no consigo instalarlo