Yes, the error is on my custom auth_user table. So, Do I reduce the leght numbers?
Bernardo 2011/2/6 Massimo Di Pierro <massimo.dipie...@gmail.com> > Do you have a custom auth_user table? Is seems to miss a length > attribute and default to a number too large. I changed the default to > 32768 in trunk but I am not sure. > > On Feb 6, 3:13 pm, Bernardo <estem...@gmail.com> wrote: > > Dear all, > > > > I am using web2py 1.91.6 and last version of Ubuntu. A model which > > works perfectly using sqlite database, throws an error when using a > > postgres database: > > > > ProgrammingError: syntax error at or near "10000000000" > > LINE 1: ALTER TABLE auth_user ADD password VARCHAR(10000000000); > > > > posible bug in new DAL? > > > > Thanks a lot for your help, > > Bernardo >