Fixed #48 - Incorrect assertion in postgresql::get_error_details. Patch received from Fedor Trushkin.