Re: Postgre Protocol

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg <grigorey(at)yahoo(dot)co(dot)uk>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Postgre Protocol
Date: 2010-06-28 18:08:55
Message-ID: 1067.1277748535@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Greg <grigorey(at)yahoo(dot)co(dot)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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Jean-Yves F. Barbier 2010-06-28 18:23:06 Re: AUTO COMMIT
Previous Message Greg 2010-06-28 16:31:54 Postgre Protocol