mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Fix new warnings from GCC 7
This addresses the new warning types -Wformat-truncation -Wformat-overflow that are part of -Wall, via -Wformat, in GCC 7.
This commit is contained in:
@ -215,8 +215,8 @@ transfer_relfile(pageCnvCtx *pageConverter, FileNameMap *map,
|
||||
const char *type_suffix)
|
||||
{
|
||||
const char *msg;
|
||||
char old_file[MAXPGPATH];
|
||||
char new_file[MAXPGPATH];
|
||||
char old_file[MAXPGPATH * 3];
|
||||
char new_file[MAXPGPATH * 3];
|
||||
int fd;
|
||||
int segno;
|
||||
char extent_suffix[65];
|
||||
|
Reference in New Issue
Block a user