Merge pull request #40 from mikedilger/master
Show trait for SQLSTATEs:
This commit is contained in:
commit
99e19df0f1
@ -13,7 +13,7 @@ use types::PostgresType;
|
|||||||
macro_rules! make_errors(
|
macro_rules! make_errors(
|
||||||
($($code:expr => $error:ident),+) => (
|
($($code:expr => $error:ident),+) => (
|
||||||
/// SQLSTATE error codes
|
/// SQLSTATE error codes
|
||||||
#[deriving(PartialEq, Eq, Clone)]
|
#[deriving(PartialEq, Eq, Clone, Show)]
|
||||||
#[allow(missing_doc)]
|
#[allow(missing_doc)]
|
||||||
pub enum PostgresSqlState {
|
pub enum PostgresSqlState {
|
||||||
$($error,)+
|
$($error,)+
|
||||||
|
Loading…
Reference in New Issue
Block a user