From: | Darko Prenosil <darko(dot)prenosil(at)finteh(dot)hr> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: improper call to spi_printtup ??? |
Date: | 2004-06-29 07:11:45 |
Message-ID: | 200406290911.45810.darko.prenosil@finteh.hr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> ----- Original Message -----
> 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>
> Sent: Monday, June 28, 2004 9:39 PM
> Subject: Re: [HACKERS] improper call to spi_printtup ???
>
> > 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.
> >
You figure it out right, SPI_finish was in the wrong place.
Thanks again.
Regards !
From | Date | Subject | |
---|---|---|---|
Next Message | Dennis Bjorklund | 2004-06-29 08:10:16 | Re: client_min_messages in dumps? |
Previous Message | Tom Lane | 2004-06-29 06:27:24 | Re: client_min_messages in dumps? |