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


Sat, 28 Jun 2003 16:03:12 +0200
Carlos Guzman Alvarez <carlosga@telefonica.net>
Re: Getting blocked when receinving response from a Parse message...
Carlos Guzman Alvarez wrote:

> 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 :)
> 
> 
Thanks Carlos.


Uhmmm, if you don't mind... are you implementing something like a data 
provider for Postgresql, or it is just an ad hoc program?



-- 
Regards,

Francisco Figueiredo Jr.

------
"My grandfather once told me that there are two
kinds of people: those
who work and those who take the credit. He told me
to try to be in the
first group; there was less competition there."
- Indira Gandhi


Sat, 28 Jun 2003 22:56:55 -0300
"Francisco Figueiredo Jr." <fxjrlists@yahoo.com.br>
Re: Getting blocked when receinving response from a Parse
Hello:

> Uhmmm, if you don't mind... are you implementing something like a data 
> provider for Postgresql, or it is just an ad hoc program?

Well i start making a simple library for 3.0 protocol for curiosity only 
  :), the protocol have a great documentation, but after some some days 
i decide to try to make a Data Provider for protocol 3.0 only (I already 
have made a Data Provider for other RDMBMS :)),





-- 
Best regards

Carlos Guzmï¿½n ï¿½lvarez
Vigo-Spain


Sun, 29 Jun 2003 11:53:26 +0200
Carlos Guzman Alvarez <carlosga@telefonica.net>
Re: Getting blocked when receinving response from a Parse
Carlos Guzman Alvarez wrote:
> Hello:
> 
>> Uhmmm, if you don't mind... are you implementing something like a data 
>> provider for Postgresql, or it is just an ad hoc program?
> 
> 
> Well i start making a simple library for 3.0 protocol for curiosity only 
>  :), the protocol have a great documentation, but after some some days i 
> decide to try to make a Data Provider for protocol 3.0 only (I already 
> have made a Data Provider for other RDMBMS :)),

That's very good!
Do you know about Npgsql?
Please, have a look at gborg.postgresql.org/project/npgsql.
It is a Postgresql .net data provider written 100% in C#.
Maybe you could give some tips, suggestions, improvements, bug fixes... :)

I'm right now implementing the extended query mode and as you and Tom 
Lane said, the Flush message worked very well. Thanks again.

-- 
Regards,

Francisco Figueiredo Jr.

------
"My grandfather once told me that there are two
kinds of people: those
who work and those who take the credit. He told me
to try to be in the
first group; there was less competition there."
- Indira Gandhi


Sun, 29 Jun 2003 13:00:02 -0300
"Francisco Figueiredo Jr." <fxjrlists@yahoo.com.br>
Re: Getting blocked when receinving response from a Parse
Hello:

> That's very good!
> Do you know about Npgsql?

Yes i know about it, but i have no see it in deep ( i use Firebird as 
RDBMS at this moment ), i decide to take a glance at the 3.0 protocol 
using C# when i know about the plans for a native Windows version in 7.4 
version :) , but i'm not sure if i'm going to finish the .NET data 
provider implementation.


> Please, have a look at gborg.postgresql.org/project/npgsql.
> It is a Postgresql .net data provider written 100% in C#.
> Maybe you could give some tips, suggestions, improvements, bug fixes... :)

:)




-- 
Best regards

Carlos Guzmï¿½n ï¿½lvarez
Vigo-Spain


Sun, 29 Jun 2003 20:58:11 +0200
Carlos Guzman Alvarez <carlosga@telefonica.net>
Re: Getting blocked when receinving response from a Parse