Re: [GENERAL] Pgsql errors, DBI and CGI::Carp

2009-05-11 Thread Toomas Vendelin
My mistake was using DBD::PgPP (as suggested in "Beginning Databases with PostgreSQL" by Neil Matthew and Richard stones, Apress) instead of DBD::Pg. Thanks for help! On May 1, 2009, at 4:07 PM, Daniel Verite wrote: Toomas Vendelin wrote: I'm writing CGI scripts in Perl using Pos

Re: [GENERAL] Pgsql errors, DBI and CGI::Carp

2009-05-01 Thread Daniel Verite
Toomas Vendelin wrote: I'm writing CGI scripts in Perl using Postgresql via DBI interface. RAISE_ERROR is on. For some reason (unlike with MySQL), when a Perl script dies from Postgresql error, the line number of Perl script where the error occurred is not reported, just the SQL s

[GENERAL] Pgsql errors, DBI and CGI::Carp

2009-04-30 Thread Toomas Vendelin
I'm writing CGI scripts in Perl using Postgresql via DBI interface. RAISE_ERROR is on. For some reason (unlike with MySQL), when a Perl script dies from Postgresql error, the line number of Perl script where the error occurred is not reported, just the SQL statement line number is given.