Fix unlimited copy size variable's value

pg14_support_3
Sait Talha Nisanci 2021-08-18 17:02:15 +03:00 committed by Halil Ozan Akgul
parent 16b821efba
commit f339d6e264
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();