On Tue, Feb 15, 2011 at 2:43 AM, Vegard Bønes <vegard.bo...@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 function. > As I understand you, that should have solved the problem. The result, > however, 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. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs