> *[Results]:* Single Statement approach (#2) always reports ERROR: value
> too long for type character varying(16), even though approach #1 -
> Multiple Inserts - imported exactly the same data with no error. Is the
> single statement approach, with its pre-testing of the query, more
> fastidious? IE, is my data bad, or is this a bug?
I can't reproduce this issue. You'll need to provide a test case. In
other words, I suspect that the data wasn't exactly the same in both cases.
--
-- Josh Berkus
PostgreSQL Experts Inc.
http://www.pgexperts.com