Skip to content

Commit 44bf1c9

Browse files
committed
Pull Oid from postgres_protocol
1 parent 96943d7 commit 44bf1c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/types/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ use std::io::prelude::*;
77
use std::sync::Arc;
88
use byteorder::{ReadBytesExt, WriteBytesExt, BigEndian};
99

10+
#[doc(inline)]
11+
pub use postgres_protocol::message::Oid;
12+
1013
pub use self::types::Type;
1114
pub use self::special::{Date, Timestamp};
1215
use {Result, SessionInfoNew, InnerConnection, OtherNew, WrongTypeNew, FieldNew};
@@ -99,9 +102,6 @@ impl<'a> fmt::Debug for SessionInfo<'a> {
99102
}
100103
}
101104

102-
/// A Postgres OID.
103-
pub type Oid = u32;
104-
105105
/// Represents the kind of a Postgres type.
106106
#[derive(Debug, Clone, PartialEq, Eq)]
107107
pub enum Kind {

0 commit comments

Comments
 (0)