On Wed, Nov 14, 2007 at 06:56:06PM +1300, Martin Langhoff wrote: > Hmmm. We'll have to test and see if we have any in Moodle. All that has happened is that the *implicit* casting is gone. They will now simply produce errors, the fix being to explicity cast it to the type you wanted, rather than the system guessing. The example you gave is not a problem, because unknown != text. It's only an issue if you're doing things like performing text operations (substr,like etc) on non-text things (like dates, numbers, etc). > - Is there a way to turn it back to the old behaviour with a > warning going to the logs? No. > - Is there a way to get v8.2.x to warn on the dubious casts > so we can tighten the application side while on v8.2? Seems to me the easiest way would be to try it out on an 8.3 installation and exercise each query once. There may be a better way but I don't know it... Have a nice day, -- Martijn van Oosterhout <kleptog@xxxxxxxxx> http://svana.org/kleptog/ > Those who make peaceful revolution impossible will make violent revolution inevitable. > -- John F Kennedy
Attachment:
signature.asc
Description: Digital signature