getting dbname through SPI

Поиск
Список
Период
Сортировка
От Gregory Scott WEBBER
Тема getting dbname through SPI
Дата
Msg-id Pine.GSO.3.95.981013163641.8303A-100000@holly.cs.mu.OZ.AU
обсуждение исходный текст
Ответы Re: getting dbname through SPI
Список pgsql-interfaces
Hi All,

Is it possible to get the dbname via SPI?  The situation is as that from
many trigger functions our package installs on tables with a db, an
external daemon is contacted with some information about particular
transactions that have taken place.  In the situation where multiple
(similarly configured) databases are simultaneously live it is imperative
that the database in which the trigger was fired is known (by name) so the
aforementioned daemon can deal with the incoming information properly.

Thanks in advance,

Greg


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

Предыдущее
От: brian@fidessa.vingulf.org
Дата:
Сообщение: Re: pgsql-interfaces-digest V1 #105
Следующее
От: Gregory Scott WEBBER
Дата:
Сообщение: Re: getting dbname through SPI