Re: improper call to spi_printtup ??? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: improper call to spi_printtup ???
Date
Msg-id 334.1088451542@sss.pgh.pa.us
Whole thread Raw
In response to improper call to spi_printtup ???  (Darko Prenosil <darko.prenosil@finteh.hr>)
List pgsql-hackers
Darko Prenosil <darko.prenosil@finteh.hr> writes:
> Anyone knows what I'm doing wrong ?

Well, when you didn't show us the text of the function, no.

However, a reasonable bet would be that you used SPI inside the function
and did not use it correctly, leaving the SPI state corrupted when
control got back to plpgsql.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Treat
Date:
Subject: Re: lock timeout patch
Next
From: "Darko Prenosil"
Date:
Subject: Re: improper call to spi_printtup ???