[GENERAL] Could not receive data from server

2003-08-14 Thread Amin Abdulghani
Hi, Running Postgres 7.2.1 with python/psycopg (python interface for postgres using libpq)/webware application server on Solaris, I get a postgres error "could not receive data from server Error 0 " when I try to retrieve a large text column (16 K) from a table. The query I use is "select col

Re: [GENERAL] Could not receive data from server

2003-08-14 Thread Bruce Momjian
7.4 has a --enable-thread-safety which compiles libpq and ecpg for threading, with that flag on operating systems that need it. --- Amin Abdulghani wrote: > Compiling postgres client with -D_REENTRANT seems to > remove > th

Re: [GENERAL] Could not receive data from server

2003-08-08 Thread Amin Abdulghani
Compiling postgres client with -D_REENTRANT seems to remove this problem. It seems to have been a thread issue with webware (and more specfically errno associated the pqReadData). On a side note, I noticed that the configure.in for 7.2.1 doesnt seem to have any option for compiling with the ab