Add codename to #error{}

Requires recompiling existing code that includes the pgsql.hrl