Hi Paul, >> Hehe, I like to live on the edge. Maybe upgrading to dbmail 2.1 on a >> production server was not the safest move, but not as bold as the >> dist-upgrade i did to Ubuntu Hoary at the same time... ;) > > Let me guess: you don't have too many customers, haha. > > I do run 2.1 on one internal production server myself. Very critical > stuff, but no clients. > > Mysql does auto-clipping on field width overruns, but postgres fails on > such inserts.
I'd say PostgreSQL does it the right way - a database that throws away data without informing anyone is ... hm. > I've changed the code in dbmail-message.c a bit to truncate the > fieldwidth to a hardcoded 255 width for now. Is such an overflow possible anywhere else? Thomas -- http://www.tmueller.com for pgp key (95702B3B)
