writeWALPosition writes the recorded WAL position to the WAL position file
(lsn pglogrepl.LSN)
| 784 | |
| 785 | // writeWALPosition writes the recorded WAL position to the WAL position file |
| 786 | func (r *LogicalReplicator) writeWALPosition(lsn pglogrepl.LSN) error { |
| 787 | return os.WriteFile(r.walFilePath, []byte(lsn.String()), 0644) |
| 788 | } |
| 789 | |
| 790 | // whereClause returns a WHERE clause string with the contents of the builder if it's non-empty, or the empty |
| 791 | // string otherwise |
no test coverage detected