On 03/15/2012 09:41 AM, Daniel Sokolowski wrote: > Yes it clearly would, however I see two possible solutions to make it > more friendly: > > 1. We provide MySQL, Sqlite3, PostgreSQL instructions on how to do it - > I mean the actual commands to execute. > 2. Catch the DB error and throw a form validation warning for those that > didn't.
Catching the database error won't work - some databases won't raise an error, they'll just silently truncate the value, potentially leading to all sorts of nasty data corruption problems and confusing bugs down the road. Carl
signature.asc
Description: OpenPGP digital signature