Fix unlimited copy size variable's value

talha_pg14_support
Sait Talha Nisanci 2021-08-18 17:02:15 +03:00
parent c25f412a70
commit 4148c6d1f2
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ static bool
ReceiveCopyData(StringInfo copyData)
{
bool copyDone = true;
const int unlimitedSize = 0;
const int unlimitedSize = PQ_LARGE_MESSAGE_LIMIT;
HOLD_CANCEL_INTERRUPTS();
pq_startmsgread();