Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 09A4347593B for ; Mon, 3 Jun 2002 18:30:26 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id F03C0475884 for ; Mon, 3 Jun 2002 18:30:24 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g53MUEb12439; Mon, 3 Jun 2002 18:30:14 -0400 (EDT) To: Bruce Momjian Cc: Mark McEahern , pgsql-admin@postgresql.org Subject: Re: configure datatype name > 31? In-reply-to: <200206030106.g5316Jp23632@candle.pha.pa.us> References: <200206030106.g5316Jp23632@candle.pha.pa.us> Comments: In-reply-to Bruce Momjian message dated "Sun, 02 Jun 2002 21:06:18 -0400" Date: Mon, 03 Jun 2002 18:30:14 -0400 Message-ID: <12436.1023143414@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200206/13 X-Sequence-Number: 4448 Bruce Momjian writes: > Tom Lane wrote: >> Don't ask me why SM_USER is different from the rest :-( >> >> If you change these I'd strongly advise bumping the protocol minor >> version number, so that you don't have weird behavior should you try >> to interoperate with standard code. >> >> This is another thing that should be on the list of stuff to fix when >> we next change the FE/BE protocol ... > Comment added to source that SM_USER length should match the others. Actually, I had no such change in mind. IMHO the right fix is to eliminate the fixed-width fields entirely. I see no good reason why the startup packet shouldn't be several null-terminated strings with no presupposed lengths. In most cases that would actually make the packet shorter than it is now. We'd probably want an overall sanity-check limit on the packet size, but it could be of the order of 10K without any problem that I could see. regards, tom lane