Neo Liu
Results
2
comments of
Neo Liu
This behavior is really unnatural and undocumented. I had to debug my provider to figure out what's going on under the hood. I figured a simple way to do **diff...
Firstly, your program should send status update message to Postgres, like this: ``` err = pglogrepl.SendStandbyStatusUpdate(ctx, c.conn, pglogrepl.StandbyStatusUpdate{WALFlushPosition: c.lastWriteWALPos}) ``` The `lastWriteWALPos` can be fetched from `CommitMessage.CommitLSN`: ``` // CommitMessage...