From: | "Grigoriy G(dot) Vovk" <grigoriy(dot)vovk(at)linustech(dot)com(dot)cy> |
---|---|
To: | <pgsql-interfaces(at)postgresql(dot)org> |
Subject: | SPI |
Date: | 2001-08-02 09:14:20 |
Message-ID: | 20010802121355.A1195-100000@callisto.internal.linustech.com.cy |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Jean-Denis Girard | 2001-08-02 11:13:59 | Win16 ODBC driver |
Previous Message | Fernando Schapachnik | 2001-07-31 20:17:24 | libpgtcl.dll |