Michael Fuhr <mike@xxxxxxxx> writes: > On Thu, Sep 01, 2005 at 08:23:31PM -0600, Cristian Prieto wrote: >> Hello, I've been working just a little with SPI in a few stored >> functions, this is a model of my SP: > Please post a real example instead of a "model." Also, it's good to make at least some minimal effort with gdb to find out where your code is crashing. A backtrace from the core dump (or from catching the signal interactively) often tells a lot. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster