From: Tom Lane <tgl@sss.pgh.pa.us>
To: Randy Jonasz <rjonasz@click2net.com>
Cc: Clark, Joel <jclark@lendingtree.com>
Cc: Adam Haberlach <adam@newsnipple.com>
Cc: Postgres Interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: C++ interfaces
Date: Sat, 07 Oct 2000 00:40:10 -0400
Message-ID: <18225.970893610@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.BSF.4.21.0010061808320.64271-100000@nietzsche.jaded.net>
References: <Pine.BSF.4.21.0010061808320.64271-100000@nietzsche.jaded.net>
Randy Jonasz <rjonasz@click2net.com> writes:
> I'm currently looking at the packet structures that the back-end and
> clients must use. I've found that many packets are terminated with
> 0x5A. The docs don't mention this so I was wondering if anyone could
> suggest why.
I suspect you are confusing the logically-separate ReadyForQuery
message (which is a single byte 'Z') with the preceding data message.
See http://www.postgresql.org/docs/postgres/protocol.htm, particularly
the description of the basic Query cycle:
: A Query cycle is initiated by the frontend sending a Query message to
: the backend. The backend then sends one or more response messages
: depending on the contents of the query command string, and finally a
: ReadyForQuery response message. ReadyForQuery informs the frontend that
: it may safely send a new query or function call.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, rjonasz@click2net.com, jclark@lendingtree.com, adam@newsnipple.com
Subject: Re: C++ interfaces
In-Reply-To: <18225.970893610@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox