Skip to content

Commit a6d3ee0

Browse files
committed
source-postgres: Trivial cleanups from PR feedback
1 parent ec35df4 commit a6d3ee0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

source-postgres/replication.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,6 @@ func (s *replicationStream) StreamToFence(ctx context.Context, fenceAfter time.D
347347
}
348348

349349
// Stream replication events until the fence is reached or the watchdog timeout hits.
350-
//
351350
var relayCtx, cancelRelayCtx = context.WithCancelCause(ctx)
352351
defer cancelRelayCtx(nil)
353352

@@ -845,7 +844,6 @@ func (s *replicationStream) decodeChangeEvent(
845844
s.reused.rowKey = rowKey // Update in case of resizing
846845
}
847846

848-
_ = beforeValues // TODO(wgd): Include the before tuple values so that updates with full REPLICA IDENTITY work correctly.
849847
*s.reused.changeEvent = postgresChangeEvent{
850848
Info: info.Shared,
851849
Meta: postgresChangeMetadata{

0 commit comments

Comments
 (0)