Received: from post.webmailer.de (natpost.webmailer.de [192.67.198.65]) by postgresql.org (Postfix) with ESMTP id 15135475469 for ; Sun, 10 Mar 2002 04:39:23 -0500 (EST) Received: from there (pD9EB1D97.dip.t-dialin.net [217.235.29.151]) by post.webmailer.de (8.9.3/8.8.7) with SMTP id JAA28877; Sun, 10 Mar 2002 09:38:50 +0100 (MET) Message-Id: <200203100838.JAA28877@post.webmailer.de> Content-Type: text/plain; charset="iso-2022-jp" From: Ian Barwick To: Felipe Nascimento , "'pgsql-admin@postgresql.org'" Subject: Re: column name length Date: Sun, 10 Mar 2002 09:38:49 +0100 X-Mailer: KMail [version 1.3.1] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archive-Number: 200203/116 X-Sequence-Number: 3650 On Saturday 09 March 2002 01:21, Felipe Nascimento wrote: > Is there a max length (number of characters) to column names?? > > I received the following: > identifier "petb_convidado_partida_participante" will be truncated to > "petb_convidado_partida_particip" > > Tks > Felipe system identifiers are limited in the default configuration to 31 characters, as has been pointed out, you will need to rebuild PostgreSQL to change this value. HOWTO: in the file src/include/postgres_ext.h change NAMEDATALEN to your desired value + 1 (current setting is 32, which gives a maximum length of 31 characters). Changing NAMEDATALEN to a greater value is on the todo-list, see: http://archives.postgresql.org/pgsql-general/2002-01/msg00941.php Ian Barwick