Dominik Werder wrote:
> Hello!
> 
> Is there a way to get the numerical error codes when using postgres 
> with  the DBI module?

It would only be possible if the underlying postgres C library provides 
these information in it's PGError class. The Postgres Frontend/Backend 
Protocol provides these information (at least in version 3.0).

Regards,

   Michael