pgsql: Fix failure to advance content pointer in sendFileWithContent.

2022-12-12 Thread Robert Haas
Fix failure to advance content pointer in sendFileWithContent. If sendFileWithContent were used to send a file larger than the bbsink buffer size, this would result in corruption. The only files that are sent via sendFileWithContent are the backup label file, the tablespace map file, and .done fil

pgsql: Fix failure to advance content pointer in sendFileWithContent.

2022-12-12 Thread Robert Haas
Fix failure to advance content pointer in sendFileWithContent. If sendFileWithContent were used to send a file larger than the bbsink buffer size, this would result in corruption. The only files that are sent via sendFileWithContent are the backup label file, the tablespace map file, and .done fil