Re: [BUGS] BUG #2643: Auto trim on insert and update

2006-09-24 Thread Tom Lane
"Gene Neely" <[EMAIL PROTECTED]> writes: > I have found no way to automatically trim fields to the length of the > varchar or char on inserts and updates. Write an explicit cast to varchar(N) or whatever it is. > Can this become a Configuration option??? No, because the behavior is required by t

[BUGS] BUG #2643: Auto trim on insert and update

2006-09-24 Thread Gene Neely
The following bug has been logged online: Bug reference: 2643 Logged by: Gene Neely Email address: [EMAIL PROTECTED] PostgreSQL version: 8.0.x 8.1.x Operating system: Linux Description:Auto trim on insert and update Details: THIS IS NOT A BUG, but a request. Found n