*added text in case of large maxsize for postgresql

I needed this in my project and it seems like a good standard to me, but you can take it or leave^^ 

if maxsize is greater then 4KB we make the type "text" instead of "varying(x)" on postgres in the hopes of it being more efficient and perhaps a bit more space conscience.