Print WAL index in hex (#567)

This commit is contained in:
Jim Kalafut
2024-02-14 12:00:47 -08:00
committed by GitHub
parent e4254bbf69
commit 94f69a0eb3

View File

@@ -101,7 +101,7 @@ func (c *WALCommand) Run(ctx context.Context, args []string) (err error) {
for itr.Next() {
info := itr.WALSegment()
fmt.Fprintf(w, "%s\t%s\t%d\t%d\t%d\t%s\n",
fmt.Fprintf(w, "%s\t%s\t%x\t%d\t%d\t%s\n",
r.Name(),
info.Generation,
info.Index,