Re: postgres fe/be protocol

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Chris Bitmead <chris(at)bitmead(dot)com>
Cc: Postgres Hackers List <hackers(at)postgresql(dot)org>
Subject: Re: postgres fe/be protocol
Date: 2000-07-10 15:44:45
Message-ID: 854.963243885@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Chris Bitmead <chris(at)bitmead(dot)com> writes:
> I inserted some debug into libpq, then I ran psql, and I noticed that
> there are two 'Z' "Ready for query" messages sent after each query. Is
> there a reason for that? Is it a bug?

I'm pretty sure the backend sends only one 'Z' per query cycle. Are you
watching the outgoing requests too? Maybe psql is sending an extra
empty query. (It didn't use to do that, but maybe it does after Peter's
recent work on it...)

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Wenjin Zheng 2000-07-10 15:49:11 Better way to load data to table
Previous Message Tom Lane 2000-07-10 15:42:48 Re: Templates