SPI

Поиск
Список
Период
Сортировка
От Grigoriy G. Vovk
Тема SPI
Дата
Msg-id 20010802121355.A1195-100000@callisto.internal.linustech.com.cy
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Fernando Schapachnik
Дата:
Сообщение: libpgtcl.dll
Следующее
От: "Michael Ansley (UK)"
Дата:
Сообщение: RE: libpq problem - kdevelop