Re: [PATCHES] Re: [HACKERS] Recursion and SPI

2001-01-09 Thread Bruce Momjian
Applied. Thanks. > "Mikheev, Vadim" <[EMAIL PROTECTED]> writes: > > > > Does the SPI interface support recursion? That is, can a function > > > use SPI to make a query which involves calling another function which > > > uses SPI? > > > > >From http://www.postgresql.org/docs/programmer/spi.htm

Re: [HACKERS] Recursion and SPI

2001-01-05 Thread Tom Lane
Ian Lance Taylor <[EMAIL PROTECTED]> writes: > Does the SPI interface support recursion? That is, can a function > use SPI to make a query which involves calling another function which > uses SPI? Looks to me like it should work. > The documentation suggests not, saying that if a function which

RE: [HACKERS] Recursion and SPI

2001-01-05 Thread Mikheev, Vadim
> Does the SPI interface support recursion? That is, can a function > use SPI to make a query which involves calling another function which > uses SPI? >From http://www.postgresql.org/docs/programmer/spi.htm : "SPI procedures are always called by some (upper) Executor and the SPI manager uses t

[HACKERS] Recursion and SPI

2001-01-05 Thread Ian Lance Taylor
Does the SPI interface support recursion? That is, can a function use SPI to make a query which involves calling another function which uses SPI? The documentation suggests not, saying that if a function which uses SPI calls another function which uses SPI, it won't work, and calling that ``bad