From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Mark McEahern <marklists@mceahern.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: configure datatype name > 31?
Date: Mon, 03 Jun 2002 18:30:14 -0400
Message-ID: <12436.1023143414@sss.pgh.pa.us> (raw)
In-Reply-To: <200206030106.g5316Jp23632@candle.pha.pa.us>
References: <200206030106.g5316Jp23632@candle.pha.pa.us>
Bruce Momjian <pgman@candle.pha.pa.us> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, pgman@candle.pha.pa.us, marklists@mceahern.com
Subject: Re: configure datatype name > 31?
In-Reply-To: <12436.1023143414@sss.pgh.pa.us>
References: <200206030106.g5316Jp23632@candle.pha.pa.us> <12436.1023143414@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox