Add support for PG_DIAG_*_NAME error fields of PostgreSQL 9.3.

The change should be noncritical enough for the next minor release. This fixes issue #161 .