Re: Restrictions of channel arg of pg_notofy

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Restrictions of channel arg of pg_notofy
Дата
Msg-id 11072.1556470926@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Restrictions of channel arg of pg_notofy  (Axel Rau <Axel.Rau@chaos1.de>)
Список pgsql-sql
Axel Rau <Axel.Rau@chaos1.de> writes:
> I have investigated further:
> pg_notify does not work at all, even with a constant string channel arg.
> NOTIFY works.
> This is release 11.2.

[ shrug... ]  Works for me.

> What am I doing wrong?

Hard to tell when you haven't provided a complete example.

Just looking at the code you did show, though, I notice that
you have

    PERFORM pg_notify(fac);

but there's no single-argument form of pg_notify in standard PG:

regression=# \df pg_notify
                           List of functions
   Schema   |   Name    | Result data type | Argument data types | Type 
------------+-----------+------------------+---------------------+------
 pg_catalog | pg_notify | void             | text, text          | func
(1 row)

Maybe whatever shim you've got for that doesn't work right?

            regards, tom lane



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

Предыдущее
От: Axel Rau
Дата:
Сообщение: Re: Restrictions of channel arg of pg_notofy
Следующее
От: Axel Rau
Дата:
Сообщение: Re: Restrictions of channel arg of pg_notofy