Attached patch adds a truncate option to DataBuf and Bulkcopy objects to silently truncate when a string value in a BCP-in operation is too big for the underlying column. Default is the existing behaviour: raise TypeError.
Log in to post a comment.