SPI - Mailing list pgsql-interfaces

From Grigoriy G. Vovk
Subject SPI
Date
Msg-id 20010802121355.A1195-100000@callisto.internal.linustech.com.cy
Whole thread Raw
List pgsql-interfaces
Hello!
I had have a look at contrib/spi and found a function:

static EPlan *find_plan(char *ident, EPlan ** eplan, int *nplans);

where ident is:

sprintf(ident, "%s$%u", trigger->tgname, trigdata->tg_relation->rd_id);

Quetion:
I want to have a plan for a function which will not be a trigger
function, for 'plain' fanction.
So, what I should to put in the ident?
When we do SPI_prepare and SPI_saveplan we don't give it a name.
Which name will have a saved plan?


my best regards,
----------------
Grigoriy G. Vovk




pgsql-interfaces by date:

Previous
From: Fernando Schapachnik
Date:
Subject: libpgtcl.dll
Next
From: "Michael Ansley (UK)"
Date:
Subject: RE: libpq problem - kdevelop