Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes - Mailing list pgsql-hackers

From Phil Thompson
Subject Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes
Date
Msg-id 3548C11D.BE04EDC4@river-bank.demon.co.uk
Whole thread Raw
In response to Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes
List pgsql-hackers
Tom Lane wrote:
>
> Phil Thompson <phil@river-bank.demon.co.uk> writes:
> > Tom Lane wrote:
> >> We should change the protocol version number to 2.0.
> >> It would be possible for the backend to continue to support 1.0 clients,
> >> if you think it's worth the trouble to do so.
>
> > Or 1.1?  The changes don't seem too traumatic.
>
> Well, pqcomm.h says that an incompatible change should have a new major
> version number, and minor though these changes be, they *are*
> incompatible.

Err...good point :)

> >> Command Done
> >> Byte1('Z')
>
> > The completion response already does this for successful queries, and
> > the error response for unsuccessful ones.
>
> You missed the point:

I've misunderstood the protocol - and the protocol specification is
therefore wrong (or at least incomplete) in this respect.  Do you want
to fix the spec and include your enhancements or shall I?

Phil

pgsql-hackers by date:

Previous
From: Andreas Zeugswetter
Date:
Subject: AW: [HACKERS] Revised proposal for libpq and FE/BE protocol changes
Next
From: dg@illustra.com (David Gould)
Date:
Subject: Re: [HACKERS] text patch -- sugg cmd when run as root