Unfortunately populate has a vocabulary that includes words longer the 16bytes.
On Sunday, 27 October 2013 00:47:40 UTC-5, tomasz bandura wrote: > > Hello, > > I noticed an error when I try to populate dummy data (i.e. > populate(db.mytable,100)): > > My table : > > db.define_table('parameters_dict', > Field('name','string',length=16) > ) > > Error: > <class 'gluon.contrib.pg8000.errors.ProgrammingError'> ('ERROR', '22001', > 'value too long for type character varying(16)') > > > It looks i cannot limit length to 16 because for length=24 it works > correctly. > > > Are there any limitations for 'populate'? > > Best regards > Tomasz > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.