Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Pgsql errors, DBI and CGI::Carp



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



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group