Re: Getting blocked when receinving response from a Parse message...

From: Carlos Guzman Alvarez <carlosga(at)telefonica(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Getting blocked when receinving response from a Parse message...
Date: 2003-06-28 14:03:12
Message-ID: 3EFDA020.10503@telefonica.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 is that in many cases
>you'll be sending Parse as part of a batch of commands, and the backend
>should batch its responses to minimize the number of network packets
>sent. So you have to tell it where the batch boundaries are --- thus,
>Flush or Sync. 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2003-06-28 14:22:33 Re: Two weeks to feature freeze
Previous Message sumit 2003-06-28 13:54:11 ruleutils.c writer Jan Wieck