I just cleaned up the connection timeout code a little.
---------------------------------------------------------------------------
Neil Conway wrote:
> The attached patch makes the following changes:
>
> - add an assertion to check that the size of the packet
> specified in the protocol is the same amount of data that we
> actually read off the wire.
>
> - fix some bizarre indentation & grammar mistake in the newly
> added libpq timeout code. Also make some minor cleanup.
>
> - add a comment noting the intent to replace the fixed size
> user name & database name fields in the protocol with
> variable width ones.
>
> Unless anyone sees a problem, please apply.
>
> Cheers,
>
> Neil
>
> --
> Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073