Leif Jensen <leif@xxxxxxxxxxx> writes: > Thank you for the suggestions. I didn't know anything about SPI_push and > SPI_pop and I will walk through my code and stuff them in. Am I looking at > some wrong documentation ? I never saw anything about those ? They weren't well documented in old releases, but see http://www.postgresql.org/docs/8.0/static/spi-spi-push.html http://www.postgresql.org/docs/8.0/static/spi-spi-pop.html regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your message can get through to the mailing list cleanly