Re: Long strings, short varchars - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: Long strings, short varchars
Date
Msg-id Pine.LNX.4.44.0208151913130.20055-100000@localhost.localdomain
Whole thread Raw
In response to Long strings, short varchars  ("Sasa Markovic" <saxon@eunet.yu>)
Responses Re: Long strings, short varchars
List pgsql-bugs
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@gmx.net

pgsql-bugs by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #739: Large objects documentation
Next
From: Tom Lane
Date:
Subject: Re: Long strings, short varchars