Pull Oid from postgres_protocol
This commit is contained in:
parent
96943d7e10
commit
44bf1c94f9
@ -7,6 +7,9 @@ use std::io::prelude::*;
|
||||
use std::sync::Arc;
|
||||
use byteorder::{ReadBytesExt, WriteBytesExt, BigEndian};
|
||||
|
||||
#[doc(inline)]
|
||||
pub use postgres_protocol::message::Oid;
|
||||
|
||||
pub use self::types::Type;
|
||||
pub use self::special::{Date, Timestamp};
|
||||
use {Result, SessionInfoNew, InnerConnection, OtherNew, WrongTypeNew, FieldNew};
|
||||
@ -99,9 +102,6 @@ impl<'a> fmt::Debug for SessionInfo<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
/// A Postgres OID.
|
||||
pub type Oid = u32;
|
||||
|
||||
/// Represents the kind of a Postgres type.
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub enum Kind {
|
||||
|
Loading…
Reference in New Issue
Block a user