Hi Mariano > Hi Norbert. John is having a problem with SqueakDBX and I just want to be > sure it is what I think.... He gets the error "Another command is already in > progress" and acoording to pgsql documentation "PQgetResult must be called > repeatedly until it returns a null pointer, *indicating* that the *command* > *is* done." > > So...in the OpenDBX world, this would mean that he (SqueakDBX) didn't call > > int odbx_result( odbx_t* handle, odbx_result_t** result, struct timeval* > timeout, unsigned long chunk ) > > up to receive NULL ??
Yes, odbx_result() must be called until it returns ODBX_RES_DONE. Norbert ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ libopendbx-devel mailing list libopendbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libopendbx-devel http://www.linuxnetworks.de/doc/index.php/OpenDBX