On Sun, Jan 19, 2014 at 8:10 PM, Tom Lane <t...@sss.pgh.pa.us> wrote: > Complaining about a too-long varchar string in this style > seems practically guaranteed to violate that.
Agreed. But I think it would be useful to add the length of the string being inserted; we already have it in the len variable. > One thing that occurs to me just now is that perhaps we could report > the failure as if it were a syntax error That would be cool, if it can be made to work. Regards, Marti -- Sent via pgsql-hackers mailing list (email@example.com) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers