It is to simplify DAL code since not all backend has boolean type, for instance I think SQLite has no bool...
You can safetly change a web2py bool into a bool in postgres with an SQL alter sentence... :) Richard On Fri, Oct 18, 2013 at 2:12 PM, puercoespin < [email protected]> wrote: > in the migration of my DB from Mysql to Postgresql, i found that a field > type 'boolean' in DAL, is handled by Pg as character(1). > > Is it a bug, or a feature :))? > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

