Re: Postgre Protocol - Mailing list pgsql-novice

From Tom Lane
Subject Re: Postgre Protocol
Date
Msg-id 1067.1277748535@sss.pgh.pa.us
Whole thread Raw
In response to Postgre Protocol  (Greg <grigorey@yahoo.co.uk>)
Responses Re: Postgre Protocol
List pgsql-novice
Greg <grigorey@yahoo.co.uk> writes:
> So question is after I recive AuthenticationOk, do I need to wait for
> ReadyForQuery message from the database

Yes.  You should have gotten it --- the backend is designed to coalesce
those messages into a single network packet, so as to avoid extra
network traffic.  I wonder whether your code is failing to notice
additional logical messages arriving in the same bufferload.

            regards, tom lane

pgsql-novice by date:

Previous
From: Greg
Date:
Subject: Postgre Protocol
Next
From: "Jean-Yves F. Barbier"
Date:
Subject: Re: AUTO COMMIT