Hello, > But I don't understand how to secure the rows (or table data) > fully loaded at the point of getAnotherTuple called...
I found how pqParseInput ensures the entire message is loaded before getAnotherTuple called. fe-protocol3.c:107 | avail = conn->inEnd - conn->inCursor; | if (avail < msgLength) | { | if (pqCheckInBufferSpace(conn->inCursor + (size_t)msgLength, conn)) So now I convinced that the whole row data is loaded at the point that getAnotherTuple is called. I agree that getAnotherTuple should not return EOF to request for unloaded part of the message. Please wait for a while for the new patch. regards, -- Kyotaro Horiguchi NTT Open Source Software Center -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers