From: Thomas.AUBRY@limagrain.com
To: pgsql-admin@postgresql.org
Subject: Problem with too short column
Date: Wed, 4 Feb 2004 17:38:08 +0100
Message-ID: <OFE4BCE870.D91C8E9B-ONC1256E30.005ACE95@ftgin.net> (raw)
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
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: Thomas.AUBRY@limagrain.com
Subject: Re: Problem with too short column
In-Reply-To: <OFE4BCE870.D91C8E9B-ONC1256E30.005ACE95@ftgin.net>
References: <OFE4BCE870.D91C8E9B-ONC1256E30.005ACE95@ftgin.net>
* 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