Ian Campbell <ianr...@gmail.com> writes:
> Thanks for personally replying, Tom. I appreciate it.
> You are correct. In the interim, I found the following change solved the
> SPI_finish(); // move to here
That might work under light usage, but the problem with it is you're
blocking any other function in the same query from using SPI, since
you're leaving your own connection active when returning. Sooner
or later that's gonna be a problem.
regards, tom lane
Sent via pgsql-general mailing list (firstname.lastname@example.org)
To make changes to your subscription: