You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Fix the warnings created by the compiler warning options-Wformat-overflow=2 -Wformat-truncation=2, supported since GCC 7. Thisis a more aggressive variant of the fixes in6275f5d, which GCC 7 warned about bydefault.The issues are all harmless, but some dubious coding patterns arecleaned up.One issue that is of external interest is that BGW_MAXLEN is increasedfrom 64 to 96. Apparently, the old value would cause the bgw_name oflogical replication workers to be truncated in some circumstances.But this doesn't actually add those warning options. It appears thatthe warnings depend a bit on compilation and optimization options, so itwould be annoying to have to keep up with that. This is more of aonce-in-a-while cleanup.Reviewed-by: Michael Paquier <michael@paquier.xyz>