Re: Speed dblink using alternate libpq tuple storage
От | Kyotaro HORIGUCHI |
---|---|
Тема | Re: Speed dblink using alternate libpq tuple storage |
Дата | |
Msg-id | 20120307.094354.186534216.horiguchi.kyotaro@oss.ntt.co.jp обсуждение исходный текст |
Ответ на | Re: Speed dblink using alternate libpq tuple storage (Kyotaro HORIGUCHI <horiguchi.kyotaro@oss.ntt.co.jp>) |
Ответы |
Re: Speed dblink using alternate libpq tuple storage
|
Список | pgsql-hackers |
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
В списке pgsql-hackers по дате отправления: