X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id D88E1D1D492 for ; Wed, 4 Feb 2004 16:51:54 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 58444-02 for ; Wed, 4 Feb 2004 12:51:47 -0400 (AST) Received: from relais-int15.globalintranet.net (mailgate4.globalintranet.net [212.234.67.19]) by svr1.postgresql.org (Postfix) with ESMTP id A2D26D1CAE1 for ; Wed, 4 Feb 2004 12:51:31 -0400 (AST) Received: from LimaNet2.ftgin.net ([10.255.7.194]) by relais-int15.globalintranet.net (Netscape Messaging Server 4.15) with ESMTP id HSKK9Q00.OIL for ; Wed, 4 Feb 2004 17:53:50 +0100 Subject: Problem with too short column To: pgsql-admin@postgresql.org X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: From: Thomas.AUBRY@limagrain.com Date: Wed, 4 Feb 2004 17:38:08 +0100 X-MIMETrack: Serialize by Router on LimaNet2/Limagrain(Release 5.0.11 |July 24, 2002) at 04/02/2004 17:50:35 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/92 X-Sequence-Number: 12266 Hi, I actually try to insert varchar which length is higher than 32 in a column which type is varchar(32). I can't change the type of the column, and I want to trunc the data. I know it's possible ! I have seen this ! Example : "j'aime les saucisses avec du beurre dedans" will be "j'aime les saucisses avec du beu". For the moment it produces a SQL Error ! Is it an option in the config files ? I'm using Postgresql 7.2.2. Thanks in advance. TOm