Extended Query, flush or sync ? - Mailing list pgsql-general

From Raimon Fernandez
Subject Extended Query, flush or sync ?
Date
Msg-id AC4D2602-8300-41E5-BF48-67C39CD95BBF@montx.com
Whole thread Raw
In response to Re: Extended Query using the Frontend/Backend Protocol 3.0  (Raimon Fernandez <coder@montx.com>)
Responses Re: Extended Query, flush or sync ?  (John DeSoi <desoi@pgedit.com>)
Re: Extended Query, flush or sync ?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hello,

It's not clear for me if I have to issue a flush or sync after each process of an extended query.

It's almost working for me only when I send a sync, but not when I send a flush. With the flush, the connection seems
freezed,or at least, I don't get any data from postgre. 


- Send the parse command
- sync
- Receive the ParseComplete
-sync
- Send the Bind
- sync
- Receive the BincComplete
- send the Execute
- receive an error => "portal xxxxxxx does not exist"


thanks,

regards,


r.

pgsql-general by date:

Previous
From: Chris Ernst
Date:
Subject: Extracting SQL from logs in a usable format
Next
From: Rory Campbell-Lange
Date:
Subject: Re: Extracting SQL from logs in a usable format