Skip to content

Commit dc77ffd

Browse files
committed
Remove linebreak
Signed-off-by: Felix Yuan <[email protected]>
1 parent 5af2a37 commit dc77ffd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

collector/pg_xlog_location.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ var (
4444

4545
xlogLocationQuery = `
4646
SELECT CASE
47-
WHEN pg_is_in_recovery()
48-
THEN (pg_last_xlog_replay_location() - '0/0') % (2^52)::bigint
47+
WHEN pg_is_in_recovery() THEN (pg_last_xlog_replay_location() - '0/0') % (2^52)::bigint
4948
ELSE (pg_current_xlog_location() - '0/0') % (2^52)::bigint
5049
END AS bytes
5150
`

0 commit comments

Comments
 (0)