[Pgpool-hackers] Return value from SimpleForwardToBackend()

Yoshiyuki Asaba y-asaba at sraoss.co.jp
Tue May 22 06:32:40 UTC 2007


Hi,

From: Fujii Masao <fujii.masao at oss.ntt.co.jp>
Subject: [Pgpool-hackers] Return value from SimpleForwardToBackend()
Date: Tue, 22 May 2007 12:30:40 +0900

> Why does SimpleForwardToBackend() return POOL_CONTINUE when the message length
> from the client is less than 4?
(snip)
> In PostgreSQL, pq_getmessage() returns EOF with the error message at the same condition.
> I think that SimpleForwardToBackend() should return POOL_END as
> follows.

Thank you for your comment. pgpool did not check whether message
length is valid.

Patch applied.
--
Yoshiyuki Asaba
y-asaba at sraoss.co.jp


More information about the Pgpool-hackers mailing list