Re: [HACKERS] SPI find backend id (novice)

2004-02-01 Thread alban
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 );

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


[HACKERS] SPI find backend id (novice)

2004-02-01 Thread alban
how find backend id for pg_temp_nnn with SPI_language ?
Thank

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster