how find backend id for pg_temp_nnn with SPI_language ?
Thank

Sun, 01 Feb 2004 19:16:49 +0100
alban <alban.minassian@wanadoo.fr>
SPI find backend id (novice)
alban wrote:

> how find backend id for pg_temp_nnn with SPI_language ?
> Thank


i have found :

#include "storage/backendid.h"
and use MyBackendId

example
appendStringInfo( str , "%d", MyBackendId );

Sun, 01 Feb 2004 23:15:07 +0100
alban <alban.minassian@wanadoo.fr>
Re: SPI find backend id (novice)