Skip to content

Commit 6611e5e

Browse files
committed
[PBCKP-110] fix build error on windows
1 parent dab64c4 commit 6611e5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stream.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ stop_streaming(XLogRecPtr xlogpos, uint32 timeline, bool segment_finished)
276276
if (segment_finished)
277277
{
278278
XLogSegNo xlog_segno;
279-
char wal_segment_name[MAXNAMLEN];
279+
char wal_segment_name[MAXFNAMELEN];
280280
char wal_segment_relpath[MAXPGPATH];
281281
char wal_segment_fullpath[MAXPGPATH];
282282
pgFile *file = NULL;

0 commit comments

Comments
 (0)