|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Sorry, My Engish is so poor , please read the following carefuly:
I installed cygwin on my win2000, the PostgreSQL works well. I use VB and psqlODBC driver to connect the database . It seemed that all are well. When I insert a string which is beyond 8K to a TEXT column , I found the TEXT column stored some rubbish date . The PostgreSQL is 7.2 , ODBC driver is 7.2.1 downloaded from URL I read some article . They told me that the length of a TEXT column is unlimited . Who can tell me What 's wrong with it. Thanks |
|
#2
|
||||
|
||||
|
The text field is unlimited in length but PostgreSQL has a maximum size for each row of 8k. This is configurable to 32k but slows down the database. In your case it is needed so you will need to modify the configuration file for PostgreSQL to increase the size.
|
|
#3
|
|||
|
|||
|
The 8K limitation no longer exists, in latest versons of PostgreSQL (actually, for at least 2 years). See http://www.ca.postgresql.org/users-...imitations.html
I cannot say exactly what the problem is, but you are using on several technologies here, including VB and ODBC. Have you tried just running a simple SQL query, including more than 8K, just to see if it works? (Hint: just build a text file with an SQL query of > 8K data, then run it from the command line) If the query works, then you should check out VB and ODBC a little more.
__________________
The real n-tier system: FreeBSD -> PostgreSQL -> [any_language] -> Apache -> Mozilla/XUL Amazon wishlist -- rycamor (at) gmail.com |
|
#4
|
|||
|
|||
|
whenever I hear ODBC my stomach gets upside down.
|
|
#5
|
|||
|
|||
|
I agree with rycamor (he is the MAN on these things) and sylow.
Try and bypass ODBC first and see what happens. Go staight to Cygwin command line and run your query before worrying about troubleshooting VB and Access. |
![]() |
| Viewing: Dev Shed Forums > Databases > PostgreSQL Help > What's wrong with TEXT size ? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|