Re: Problem trying to implement version 3.0 of the PostgreSQL

From: Carlos Guzman Alvarez <carlosga(at)telefonica(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Problem trying to implement version 3.0 of the PostgreSQL
Date: 2003-06-04 21:48:50
Message-ID: 3EDE6942.3020500@telefonica.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello:

> Your Parse message looks fine, but the server will not actually send its
> ParseComplete response until you send a Sync or Flush message. The idea
> is that Parse is usually going to be part of a series of operations, and
> you don't want a separate network packet coming back for each operation
> in the series. When you do want to see the results of an operation
> before you issue the next one, you can issue either Flush (just forces
> out the pending messages) or Sync (which does all the stuff that was
> formerly done at the end of a Query message).
>
> Error messages do get flushed out immediately, which is why you were
> able to see the response in the other case.

Thanks very much it's working well now :D

--
Best regards

Carlos Guzmán Álvarez
Vigo-Spain

"No tengo dones especiales.Sólo soy apasionadamente curioso"
Albert Einstein, científico.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-06-04 21:49:54 Re: SET CONSTRAINTS not schema-aware
Previous Message Bruce Momjian 2003-06-04 21:46:01 Re: TODO list