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 <span style="border-collapse:collapse;font-family:Verdana, Geneva, Helvetica, Arial, sans-serif;font-size:13px"><span>"PQgetResult must be called repeatedly until it returns a null pointer, </span><span><b style="background-color:rgb(255, 255, 102);background-repeat:initial initial">indicating</b> that the <b style="background-color:rgb(255, 255, 102);background-repeat:initial initial">command</b> <b style="background-color:rgb(255, 255, 102);background-repeat:initial initial">is</b> done." </span></span><br>
<br>So...in the OpenDBX world, this would mean that he (SqueakDBX) didn't call<br><br>int odbx_result( odbx_t* handle, odbx_result_t** result, struct timeval* timeout, unsigned long chunk )<br><br>up to receive NULL ??<br>
<br><br>or this has nothing to do and it is another error??<br><br>thanks<br><br>mariano<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">John Toohey</b> <span dir="ltr"><<a href="mailto:jt@parspro.com">jt@parspro.com</a>></span><br>
Date: Tue, May 10, 2011 at 4:31 PM<br>Subject: [SqueakDBX] OpenDBX: Another command is already in progress<br>To: squeakdbx <<a href="mailto:squeakdbx@lists.squeakfoundation.org">squeakdbx@lists.squeakfoundation.org</a>><br>
<br><br>I get this error a lot when my system is under load. According to the pgsql docs, I should do this, <span style="border-collapse:collapse;font-family:Verdana, Geneva, Helvetica, Arial, sans-serif;font-size:13px"><span>"PQgetResult must be called repeatedly until it returns a null pointer, </span><br>
<span><b style="background-color:rgb(255, 255, 102);background-repeat:initial initial">indicating</b> that the <b style="background-color:rgb(255, 255, 102);background-repeat:initial initial">command</b> <b style="background-color:rgb(255, 255, 102);background-repeat:initial initial">is</b> done." </span></span><div>
<font face="Verdana, Geneva, Helvetica, Arial, sans-serif"><span style="border-collapse:collapse"><br>
</span></font></div><div><span></span><font face="Verdana, Geneva, Helvetica, Arial, sans-serif"><span style="border-collapse:collapse">How do I handle this type of error in GlorpDBX? I'm using Pharo 1.2 and the Glorp/DBX build that was available when that was released. <br clear="all">
</span></font><br>-- <br>~JT<br><br><br>
</div>
<br>_______________________________________________<br>
SqueakDBX mailing list<br>
<a href="mailto:SqueakDBX@lists.squeakfoundation.org">SqueakDBX@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx</a><br>
<br></div><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>