Re: Protocol Question
От | Thomas Heller |
---|---|
Тема | Re: Protocol Question |
Дата | |
Msg-id | CAGTxmOsMraAf=aX0bSQtTLEHtTfzOC6uF1=wjqaU+TWB3qY-YQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Protocol Question (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-interfaces |
Thanks Tom, you were in fact correct.
The client tripped over itself and forgot to finish reading some bytes when reading a binary Text field. How that ended up looking like a NoData message is beyond me but I have an extra check in place now that ensures all types read all the bytes received for it. So another potential source of errors fixed.
Thanks again,
/thomas
On Mon, Aug 18, 2014 at 7:55 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Thomas Heller <info@zilence.net> writes:AFAICS, NoData can only be returned in response to Describe Statement
> I just encountered a weird protocol error while stress testing my client.
> I'm receiving unexpected 'n'/NoData messages while reading 'D'/DataRow
> messages.
or Describe Portal issued against a command that cannot return rows.
If you can provide a counterexample for this claim, I'd be interested
to see it. But my money is on confusion on the client side.
regards, tom lane
В списке pgsql-interfaces по дате отправления: