[Zope] Truncation Reading from ODBC

J Cameron Cooper jccooper at jcameroncooper.com
Fri Aug 8 17:07:45 EDT 2003


>
>
>I'm trying to read (and later probably write) large strings to a 
>postgress database.  
>...
>When I read a column with 20,000+ characters I only get the first 
>8194 characters.  
>
>Is this:
>1) a Zope restriction?
>  
>
This is a very unlikely cause, but I recall that certain Python data 
structures (files?) may look like strings up to a certain point, but 
then contain a link to another node with more data. You can get the 
whole of the contents by str(the_thing).

But them, you're probably using the string type already.

             --jcc

-- 
"My point and period will be throughly wrought,
Or well or ill, as this day's battle's fought."





More information about the Zope mailing list