[Xapian-discuss] xapian + plpgsql crash? have backtrace...
Olly Betts
olly at survex.com
Sat Oct 30 11:00:52 BST 2004
On Sat, Oct 30, 2004 at 11:53:14AM +0200, rm at fabula.de wrote:
> AFAIK, PostgreSQL doesn't use threads - it has a master/slave-
> processes setup (postmaster taking the conection and handing it
> to a dedicated backend server process). So there shouldn't be
> any threading issues here. BUT: linking a C++ lib into a Perl
> interpreter into a C application might be too much here.
It did cross my mind that there might be issues with running constructors
for static objects, but the trace didn't seem to show such problems.
But you're right to wonder if there might be issues here.
> The thing got out of an aborted transaction by means of a longjmp the
> last time i had a closer look at it (admitedly some time ago). I can't
> imagine that C++'s destructor handling et al. will deal nicely with
> this kind of code path.
I don't think we have an aborted transaction here.
But this does mean that you want to avoid aborting a transaction from
within the perl.
Cheers,
Olly
More information about the Xapian-discuss
mailing list