PgDAC
Holds the SQLSTATE code.
EPgError
property ErrorCode: string;
The ErrorCode property holds the SQLSTATE code.