mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 00:26:30 +00:00
MAXFILENAME -> MAXPGPATH
This commit is contained in:
2
repmgr.c
2
repmgr.c
@@ -2158,7 +2158,7 @@ parse_label_lsn(const char *label_key, const char *label_value)
|
|||||||
static void
|
static void
|
||||||
read_backup_label(const char *local_data_directory, struct BackupLabel *out_backup_label)
|
read_backup_label(const char *local_data_directory, struct BackupLabel *out_backup_label)
|
||||||
{
|
{
|
||||||
char label_path[MAXFILENAME];
|
char label_path[MAXPGPATH];
|
||||||
FILE *label_file;
|
FILE *label_file;
|
||||||
int nmatches = 0;
|
int nmatches = 0;
|
||||||
char label_key[MAXLEN];
|
char label_key[MAXLEN];
|
||||||
|
|||||||
Reference in New Issue
Block a user