Commit c42cd05
committed
Cleanup useless assignments and checks
This cleans up a couple of areas:
- Remove XLogSegNo calculation for the last WAL segment in backup in
xlog.c (7d70809 has moved this logic entirely to xlogbackup.c when
building the contents of the backup history file).
- Remove check on log_min_duration in analyze.c, as it is already true
where this code path is reached.
- Simplify call to find_option() in guc.c.
Author: Ranier Vilela
Reviewed-by: Masahiko Sawada
Discussion: https://postgr.es/m/CAEudQArCDQQiPiFR16=yu9k5s2tp4tgEe1U1ZbkW4ofx81AWWQ@mail.gmail.com1 parent 62be9e4 commit c42cd05
3 files changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8733 | 8733 | | |
8734 | 8734 | | |
8735 | 8735 | | |
8736 | | - | |
8737 | 8736 | | |
8738 | 8737 | | |
8739 | 8738 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | | - | |
364 | | - | |
| 363 | + | |
365 | 364 | | |
366 | 365 | | |
367 | 366 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5262 | 5262 | | |
5263 | 5263 | | |
5264 | 5264 | | |
5265 | | - | |
5266 | | - | |
5267 | 5265 | | |
5268 | 5266 | | |
5269 | 5267 | | |
5270 | | - | |
| 5268 | + | |
5271 | 5269 | | |
5272 | 5270 | | |
5273 | 5271 | | |
| |||
0 commit comments