I'm writting a function/extention in C for a trigger. Inside a trigger,
in C, I want to get the name of the current database. However, not via
SPI_exec(), SPI_prepare() and the like, but more directly, in a more
faster way.
I'm aware of "current_database()" but it'll require calling it via
SP
Thanks.
El 03/08/2020 a las 16:04, David Rowley escribió:
On Mon, 3 Aug 2020 at 21:26, alex m wrote:
I'm writting a function/extention in C for a trigger. Inside a trigger, in C, I
want to get the name of the current database. However, not via SPI_exec(),
SPI_prepare() and the like