Re: Handling protocol not supported error message when working with protocol 2 and 3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Francisco Figueiredo Jr(dot)" <fxjrlists(at)yahoo(dot)com(dot)br>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Handling protocol not supported error message when working with protocol 2 and 3
Date: 2003-07-12 23:03:56
Message-ID: 18952.1058051036@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Francisco Figueiredo Jr." <fxjrlists(at)yahoo(dot)com(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2003-07-12 23:09:44 Re: php with postgres
Previous Message Francisco Figueiredo Jr. 2003-07-12 22:42:22 Handling protocol not supported error message when working with protocol 2 and 3