BufFileWrite across MAX_PHYSICAL_FILESIZE boundary - Mailing list pgsql-hackers

From Kurt Harriman
Subject BufFileWrite across MAX_PHYSICAL_FILESIZE boundary
Date
Msg-id 463F91B8.8060806@greenplum.com
Whole thread Raw
Responses Re: BufFileWrite across MAX_PHYSICAL_FILESIZE boundary  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Just noticed buffile.c:292 doesn't look quite right where
BufFileDumpBuffer calls FileWrite:    bytestowrite = FileWrite(thisfile, file->buffer, bytestowrite);
It looks as though it would write the same data each time the
loop is iterated.  Would this be better?    bytestowrite = FileWrite(thisfile, file->buffer + wpos, bytestowrite);




pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Re: [COMMITTERS] psqlodbc - psqlodbc: Put Autotools-generated files into subdirectory
Next
From: Tom Lane
Date:
Subject: Behavior of GENERATED columns per SQL2003