Re: BUG #5883: Error when mixing SPI_returntuple with returning regular HeapTuple - Mailing list pgsql-bugs

From Robert Haas
Subject Re: BUG #5883: Error when mixing SPI_returntuple with returning regular HeapTuple
Date
Msg-id AANLkTinQ5wDjw_LV4y1phOjHhWotRjQUuDtVry9CzWKC@mail.gmail.com
Whole thread Raw
In response to Re: BUG #5883: Error when mixing SPI_returntuple with returning regular HeapTuple  (Vegard Bønes <vegard.bones@met.no>)
Responses Re: BUG #5883: Error when mixing SPI_returntuple with returning regular HeapTuple
List pgsql-bugs
On Tue, Feb 15, 2011 at 2:43 AM, Vegard B=F8nes <vegard.bones@met.no> wrote:
> Ok, I tried to modify the example functions get_data_alternative_a() and =
get_data_alternative_b(), so that they start with SPI_connect, and end with=
 SPI_finish. Also I removed SPI_connect and SPI_finish from the main functi=
on. As I understand you, that should have solved the problem. The result, h=
owever, is exactly the same as before.

You may get further if you post the modified code, instead of simply
asserting that some code we can't see doesn't work.

--=20
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #5890: malloc error
Next
From: "Khadtare, Sharad"
Date:
Subject: Bidirectional replication for postgres 9