Depending on the database a blob field may not be able to hold more than 
64KB

You can look in https://github.com/web2py/pydal/blob/master/pydal/dialects

Open the .py for the database you are using and search for
    @sqltype_for('blob')
    def type_blob(self):

To see what type you are actually using, then refer to your database 
documentation to see how much you can actually put there.

Example in postgre.py

    @sqltype_for('blob')
    def type_blob(self):
        return 'BYTEA

We see that we're actually using a BYTEA type. Looking 
at https://wiki.postgresql.org/wiki/BinaryFilesInDB we see that bytea 
actually has a 1G limit.



-- 
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/d/optout.

Reply via email to