Re: extended query protcol violation? - Mailing list pgsql-hackers

From Vladimir Sitnikov
Subject Re: extended query protcol violation?
Date
Msg-id CAB=Je-Fc5dc885qc9Aq9tOLPKYEDGR6-g4zNam2Kp-ie1DF1nQ@mail.gmail.com
Whole thread Raw
In response to Re: extended query protcol violation?  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Responses Re: extended query protcol violation?  (Tatsuo Ishii <ishii@sraoss.co.jp>)
List pgsql-hackers
Tatsuo>responses of a simple query do not include CloseComplete

Tatsuo, where do you get the logs from?
I guess you are just confused by the PRINTED order of the messages in the log.
Note: wire order do not have to be exactly the same as the order in the log since messages are buffered, then might be read in batches.

In other words, an application might just batch (send all three) close(s2), close(s1), query(begin) messages, then read the responses.
How does it break protocol?

Vladimir

pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: extended query protcol violation?
Next
From: Andrey Borodin
Date:
Subject: Re: Connections hang indefinitely while taking a gin index's LWLockbuffer_content lock