Re: Handling protocol not supported error message when working with protocol 2 and 3 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Handling protocol not supported error message when working with protocol 2 and 3
Date
Msg-id 18952.1058051036@sss.pgh.pa.us
Whole thread Raw
In response to Handling protocol not supported error message when working with protocol 2 and 3  ("Francisco Figueiredo Jr." <fxjrlists@yahoo.com.br>)
Responses Re: Handling protocol not supported error message when  ("Francisco Figueiredo Jr." <fxjrlists@yahoo.com.br>)
List pgsql-hackers
"Francisco Figueiredo Jr." <fxjrlists@yahoo.com.br> writes:
> I'm finishing the implementation of the protocol 3.0 and now I'm working 
> in how to connect to server using protocol 3.0 when the server doesn't 
> support it 7.3- .

I'd suggest using the same methods libpq does.  You do have to be
prepared to accept an old-format error message.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Francisco Figueiredo Jr."
Date:
Subject: Handling protocol not supported error message when working with protocol 2 and 3
Next
From: "Dave Page"
Date:
Subject: Re: php with postgres