Use PG err code instead of errstr as the latest may not work in non english environment