forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc36b636
committed
Fix off-by-one in XLogRecordMaxSize check.
pg_logical_emit_message(false, '_', repeat('x', 1069547465)) failed withself-contradictory message "WAL record would be 1069547520 bytes (ofmaximum 1069547520 bytes)". There's no particular benefit from allowingor denying one byte in either direction; XLogRecordMaxSize could rise afew megabytes without trouble. Hence, this is just for cleanliness.Back-patch to v16, where this check first appeared.1 parent638d42a commitc36b636
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
900 | 900 |
| |
901 | 901 |
| |
902 | 902 |
| |
903 |
| - | |
| 903 | + | |
904 | 904 |
| |
905 | 905 |
| |
906 | 906 |
| |
|
0 commit comments
Comments
(0)