Pgsql errors, DBI and CGI::Carp

Поиск
Список
Период
Сортировка
От Toomas Vendelin
Тема Pgsql errors, DBI and CGI::Carp
Дата
Msg-id 9AC4C112-183A-433C-8ADE-4676CA301747@vendelin.com
обсуждение исходный текст
Ответы Re: Pgsql errors, DBI and CGI::Carp  ("Daniel Verite" <daniel@manitou-mail.org>)
Список 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 по дате отправления:

Предыдущее
От: Grzegorz Buś
Дата:
Сообщение: could not bind IPv4 socket
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: triggers and execute...