Re: NOTIFY/LISTEN Using Embedded SQL (ecpg)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: NOTIFY/LISTEN Using Embedded SQL (ecpg)
Дата
Msg-id 16561.990645944@sss.pgh.pa.us
обсуждение исходный текст
Ответ на NOTIFY/LISTEN Using Embedded SQL (ecpg)  ("Craig Orsinger" <cjorsinger@m5.earthlink_net.invalid>)
Список pgsql-general
"Craig Orsinger" <cjorsinger@m5.earthlink_net.invalid> writes:
>      So, it appears that I can set up my program to LISTEN or
> UNLISTEN using embedded SQL, but I can't get a notification when
> it's sent. Or so I think. _Is_ there a way to get the libpq connection info
> from the ESQL CONNECT call?

Seems like there should be, if there isn't.  NOTIFY isn't the only thing
you might want to grab the PGconn object for.

            regards, tom lane

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

Предыдущее
От: Robert
Дата:
Сообщение: Sessions with Postgres
Следующее
От: Tom Lane
Дата:
Сообщение: Re: incomplete transaction keeps table locked?