"Eugene Pimenov" <libc(at)me(dot)com> writes:
> 2) Write a code to every translation (e.g. Error 424242 inccorrect ...), so
> people can actually google out a solution for their problems.
RTFM:
http://www.postgresql.org/docs/8.3/static/errcodes-appendix.html
regards, tom lane