Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 02367476E93 for ; Mon, 13 May 2002 17:28:52 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 2238C475E0B for ; Mon, 13 May 2002 14:44:31 -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 g4DIGTW11813; Mon, 13 May 2002 14:16:29 -0400 (EDT) To: "Mark McEahern" Cc: pgsql-admin@postgresql.org Subject: Re: configure datatype name > 31? In-reply-to: References: Comments: In-reply-to "Mark McEahern" message dated "Mon, 13 May 2002 12:49:13 -0500" Date: Mon, 13 May 2002 14:16:29 -0400 Message-ID: <11810.1021313789@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200205/117 X-Sequence-Number: 4292 "Mark McEahern" writes: > Tom, thanks for your reply. I am now able to create databases and users > with longer names, but I am unable to login with the long username. I think you're stuck on that, unless you want to be *really* incompatible with the rest of the world. The startup packet format has hard-wired field sizes --- see src/include/libpq/pqcomm.h: #define SM_DATABASE 64 #define SM_USER 32 #define SM_OPTIONS 64 #define SM_UNUSED 64 #define SM_TTY 64 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 ... regards, tom lane