Skip to content

Commit

Permalink
The diff can be pgtype::NULL out of pg evidently
Browse files Browse the repository at this point in the history
  • Loading branch information
DAlperin committed Apr 6, 2023
1 parent 9dcff36 commit 15d039f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/flypg/admin/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func ResolveRole(ctx context.Context, pg *pgx.Conn) (string, error) {

type ReplicationStat struct {
Name string
Diff int
Diff *int
}

func ResolveReplicationLag(ctx context.Context, pg *pgx.Conn) ([]*ReplicationStat, error) {
Expand Down

0 comments on commit 15d039f

Please sign in to comment.