[CPS-users] Re: cps-users Digest, Vol 39, Issue 1

Joshua Kramer josh at globalherald.net
Fri Sep 1 22:56:21 CEST 2006


 > You could also you write_expr to truncate text
 > that is longuer than some limit for instance.
 > But I do not understand why you do not want to
 >just use varchar() instead of varchar(n).

Well, after doing some tests, it is possible to create fields of type 
varchar in postgres without specifying the length; however, it's 
definitely not a good practice; so I'll probably write the expression to 
truncate it as you indicated.

Also, what would I map a CPS String List type to?  Will that map to 
varchar OK, or not?  I'll play around a bit, but is there a recommended 
practice?

Thanks,
-JOsh


More information about the cps-users mailing list

This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.