Re: Getting blocked when receinving response from a Parse message... - Mailing list pgsql-hackers

From Carlos Guzman Alvarez
Subject Re: Getting blocked when receinving response from a Parse message...
Date
Msg-id 3EFDA020.10503@telefonica.net
Whole thread Raw
In response to Getting blocked when receinving response from a Parse message...  ("Francisco Figueiredo Jr." <fxjrlists@yahoo.com.br>)
Responses Re: Getting blocked when receinving response from a Parse  ("Francisco Figueiredo Jr." <fxjrlists@yahoo.com.br>)
List pgsql-hackers
Hello:
>You must send either Flush or Sync after the Parse to force the backend>to emit its response to Parse.  The assumption
isthat in many cases>you'll be sending Parse as part of a batch of commands, and the backend>should batch its responses
tominimize the number of network packets>sent.  So you have to tell it where the batch boundaries are --- thus,>Flush
orSync.  See the docs concerning the difference between the two.
 



I have the same problem some days ago with the implementation of the 
version 3.0 protocol in C# and now using Flush it's working quite well :)




-- 
Best regards



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Getting blocked when receinving response from a Parse message...
Next
From: Jan Wieck
Date:
Subject: Re: Two weeks to feature freeze