Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions postgres-protocol/src/message/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ impl LogicalReplicationMessage {

/// A row as it appears in the replication stream
#[derive(Debug)]
pub struct Tuple(Vec<TupleData>);
pub struct Tuple(pub Vec<TupleData>);

impl Tuple {
#[inline]
Expand Down Expand Up @@ -1367,7 +1367,7 @@ pub struct RelationBody {
namespace: Bytes,
name: Bytes,
replica_identity: ReplicaIdentity,
columns: Vec<Column>,
pub columns: Vec<Column>,
}

impl RelationBody {
Expand Down Expand Up @@ -1434,7 +1434,7 @@ impl TypeBody {
#[derive(Debug)]
pub struct InsertBody {
rel_id: u32,
tuple: Tuple,
pub tuple: Tuple,
}

impl InsertBody {
Expand All @@ -1455,9 +1455,9 @@ impl InsertBody {
#[derive(Debug)]
pub struct UpdateBody {
rel_id: u32,
old_tuple: Option<Tuple>,
key_tuple: Option<Tuple>,
new_tuple: Tuple,
pub old_tuple: Option<Tuple>,
pub key_tuple: Option<Tuple>,
pub new_tuple: Tuple,
}

impl UpdateBody {
Expand Down Expand Up @@ -1492,8 +1492,8 @@ impl UpdateBody {
#[derive(Debug)]
pub struct DeleteBody {
rel_id: u32,
old_tuple: Option<Tuple>,
key_tuple: Option<Tuple>,
pub old_tuple: Option<Tuple>,
pub key_tuple: Option<Tuple>,
}

impl DeleteBody {
Expand Down