-----BEGIN PGP SIGNED MESSAGE-----
> I'm using Perl 5.8.8 with DBD-Pg-1.49. I have a perl script which
> I had previously set DBI->trace(4) and found out that my script was
> able to connect just fine to the database, and perform SELECT queries,
> but as soon as it came to running an INSERT query, the script
> segfaults .
Most likely a DBD::Pg bug. Some ideas:
1) Try out the new version of DBD::Pg and see if it helps. If so, it's
most likely an already-fixed bug.
http://search.cpan.org/dist/DBD-Pg/ - the 2.0.0_x one
2) Try setting trace to 10 and see if you can figure out the last thing it
did before dying.
3) Use gdb to see what it's dying on. Run "gdb perl core" after it coredumps
and do a "backtrace".
Greg Sabino Mullane greg(at)turnstep(dot)com
PGP Key: 0x14964AC8 200802050023
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
In response to
pgsql-interfaces by date
|Next:||From: Thomas Adam||Date: 2008-02-05 20:20:26|
|Subject: Re: DBD::Pg returns "DBD::Pg::st execute failed: connection not open"|
|Previous:||From: Thomas Adam||Date: 2008-01-30 15:56:48|
|Subject: DBD::Pg returns "DBD::Pg::st execute failed: connection not open"|