8000 use 0 instead of BUFSIZ · postgrespro/pg_probackup@15c9046 · GitHub
[go: up one dir, main page]

Skip to content

Commit 15c9046

Browse files
committed
use 0 instead of BUFSIZ
1 parent 3813726 commit 15c9046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2156,7 +2156,7 @@ get_data_file_headers(HeaderMap *hdr_map, pgFile *file, uint32 backup_version, b
21562156
return NULL;
21572157
}
21582158
/* disable buffering for header file */
2159-
setvbuf(in, NULL, _IONBF, BUFSIZ);
2159+
setvbuf(in, NULL, _IONBF, 0);
21602160

21612161
if (fseek(in, file->hdr_off, SEEK_SET))
21622162
{

0 commit comments

Comments
 (0)
0