getting dbname through SPI - Mailing list pgsql-interfaces

From Gregory Scott WEBBER
Subject getting dbname through SPI
Date
Msg-id Pine.GSO.3.95.981013163641.8303A-100000@holly.cs.mu.OZ.AU
Whole thread Raw
Responses Re: getting dbname through SPI
List 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 by date:

Previous
From: brian@fidessa.vingulf.org
Date:
Subject: Re: pgsql-interfaces-digest V1 #105
Next
From: Gregory Scott WEBBER
Date:
Subject: Re: getting dbname through SPI