Pgsql errors, DBI and CGI::Carp - Mailing list pgsql-general

From Toomas Vendelin
Subject Pgsql errors, DBI and CGI::Carp
Date
Msg-id 9AC4C112-183A-433C-8ADE-4676CA301747@vendelin.com
Whole thread Raw
Responses Re: Pgsql errors, DBI and CGI::Carp
List pgsql-general
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.
In a longer script looking it may become a tedious task to guess the
line in script that caused the problem. Is that an expected behavior
or am I missing something?

Toomas

pgsql-general by date:

Previous
From: Grzegorz Buś
Date:
Subject: could not bind IPv4 socket
Next
From: Scott Marlowe
Date:
Subject: Re: triggers and execute...