Re: improper call to spi_printtup ???

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Darko Prenosil <darko(dot)prenosil(at)finteh(dot)hr>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: improper call to spi_printtup ???
Date: 2004-06-28 19:39:02
Message-ID: 334.1088451542@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Darko Prenosil <darko(dot)prenosil(at)finteh(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc Röttig 2004-06-28 20:50:53 Survey: "Motivation of Free/Open Source Software (F/OSS) Developers"
Previous Message Robert Treat 2004-06-28 19:24:54 Re: lock timeout patch