minor auth code cleanup

From: Neil Conway <neilc(at)samurai(dot)com>
To: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: minor auth code cleanup
Date: 2002-08-27 06:42:03
Message-ID: 87wuqcajlw.fsf@mailbox.samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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(at)samurai(dot)com> || PGP Key ID: DB3C29FC

Attachment Content-Type Size
auth_fixes-2.patch text/x-patch 8.2 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Henshall, Stuart - WCP 2002-08-27 11:58:37 cygwin rename instead of link (7.2.2)
Previous Message Christopher Kings-Lynne 2002-08-27 05:21:42 Re: [HACKERS] CREATE TEMP TABLE .... ON COMMIT