RE: [HACKERS] Re: function crashes backend

2000-09-27 Thread Mikheev, Vadim
> Following up to myself, I finally understood my problem: I > was trying to > re-use SPI_tuptable->vals[i] after calling SPI_exec() on another, > unrelated query. So the backend crash makes perfect sense now. > > What is the best strategy: > - store the result of a SELECT returning multiple tu

[HACKERS] Re: function crashes backend

2000-09-27 Thread Louis-David Mitterrand
On Wed, Sep 27, 2000 at 08:53:58AM +0200, Louis-David Mitterrand wrote: > Hello, > > I am writing a SPI function to run maintenance tasks on my auction > system but it keeps crashing the backend after running only one loop. > Now, I am not a C programmer, nor do I have any formal training in CS.