Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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


pgsql-novice by date

Next:From: Jean-Yves F. BarbierDate: 2010-06-28 18:23:06
Subject: Re: AUTO COMMIT
Previous:From: GregDate: 2010-06-28 16:31:54
Subject: Postgre Protocol

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group