Re: BUG #16258: exec_simple_query does not call ProcessCompletedNotifies after CommitTransactionCommand

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #16258: exec_simple_query does not call ProcessCompletedNotifies after CommitTransactionCommand
Дата
Msg-id 16670.1581693636@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #16258: exec_simple_query does not call ProcessCompletedNotifies after CommitTransactionCommand  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #16258: exec_simple_query does not call ProcessCompletedNotifiesafter CommitTransactionCommand  (RekGRpth <rekgrpth@gmail.com>)
Список pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> psql -c "begin;select pg_notify('channel', concat_ws(' = ', 'a',
> clock_timestamp()::text));commit;select pg_sleep(10);begin;select
> pg_notify('channel', concat_ws(' = ', 'b',
> clock_timestamp()::text));commit;select now(), clock_timestamp();"

I think the main reason why this isn't reporting any notifications
is that you forgot to issue a LISTEN.

            regards, tom lane



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

Предыдущее
От: Arseny Sher
Дата:
Сообщение: Re: ERROR: subtransaction logged without previous top-level txn record
Следующее
От: RekGRpth
Дата:
Сообщение: Re: BUG #16258: exec_simple_query does not call ProcessCompletedNotifiesafter CommitTransactionCommand