Merge pull request #40 from mikedilger/master

Show trait for SQLSTATEs:
This commit is contained in:
Steven Fackler 2014-06-20 16:03:17 -07:00
commit 99e19df0f1

View File

@ -13,7 +13,7 @@ use types::PostgresType;
macro_rules! make_errors(
($($code:expr => $error:ident),+) => (
/// SQLSTATE error codes
#[deriving(PartialEq, Eq, Clone)]
#[deriving(PartialEq, Eq, Clone, Show)]
#[allow(missing_doc)]
pub enum PostgresSqlState {
$($error,)+