Re: Long strings, short varchars

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Sasa Markovic <saxon(at)eunet(dot)yu>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Long strings, short varchars
Date: 2002-08-15 17:13:42
Message-ID: Pine.LNX.4.44.0208151913130.20055-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Sasa Markovic writes:

> Long input string was silently trimmed. But in PG7.2 an error is triggered.
> OK, I suppose this is just a new feature, not a bug but. But...
> ...Is it possible to restore the old behaviour?

Write a rule that truncates the string before it's inserted.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2002-08-15 18:02:06 Re: Long strings, short varchars
Previous Message pgsql-bugs 2002-08-15 12:25:55 Bug #739: Large objects documentation

Browse pgsql-hackers by date

  From Date Subject
Next Message Vince Vielhaber 2002-08-15 17:13:52 Re: Open 7.3 items
Previous Message Greg Copeland 2002-08-15 17:08:54 Re: Standard replication interface?