forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc42cd05
committed
Cleanup useless assignments and checks
This cleans up a couple of areas:- Remove XLogSegNo calculation for the last WAL segment in backup inxlog.c (7d70809 has moved this logic entirely to xlogbackup.c whenbuilding the contents of the backup history file).- Remove check on log_min_duration in analyze.c, as it is already truewhere this code path is reached.- Simplify call to find_option() in guc.c.Author: Ranier VilelaReviewed-by: Masahiko SawadaDiscussion:https://postgr.es/m/CAEudQArCDQQiPiFR16=yu9k5s2tp4tgEe1U1ZbkW4ofx81AWWQ@mail.gmail.com1 parent62be9e4 commitc42cd05
3 files changed
+2
-6
lines changedLines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8733 | 8733 |
| |
8734 | 8734 |
| |
8735 | 8735 |
| |
8736 |
| - | |
8737 | 8736 |
| |
8738 | 8737 |
| |
8739 | 8738 |
| |
|
Lines changed: 1 addition & 2 deletions
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 |
| |
|
Lines changed: 1 addition & 3 deletions
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
Comments
(0)