Skip to content

Commit

Permalink
chore: field alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
3n0ugh committed Jun 28, 2024
1 parent 269c96f commit 008b124
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pq/message/format/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import (
type Delete struct {
OldTupleData *tuple.Data
OldDecoded map[string]any
TableNamespace string
TableName string
OID uint32
XID uint32
OldTupleType uint8
TableNamespace string
TableName string
}

func NewDelete(data []byte, streamedTransaction bool, relation map[uint32]*Relation) (*Delete, error) {
Expand Down
4 changes: 2 additions & 2 deletions pq/message/format/insert.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ const (
type Insert struct {
TupleData *tuple.Data
Decoded map[string]any
OID uint32
XID uint32
TableNamespace string
TableName string
OID uint32
XID uint32
}

func NewInsert(data []byte, streamedTransaction bool, relation map[uint32]*Relation) (*Insert, error) {
Expand Down
4 changes: 2 additions & 2 deletions pq/message/format/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ type Update struct {
NewDecoded map[string]any
OldTupleData *tuple.Data
OldDecoded map[string]any
TableNamespace string
TableName string
OID uint32
XID uint32
OldTupleType uint8
TableNamespace string
TableName string
}

func NewUpdate(data []byte, streamedTransaction bool, relation map[uint32]*Relation) (*Update, error) {
Expand Down

0 comments on commit 008b124

Please sign in to comment.