RE: [ODBC] ODBC <6.4 protocol - Mailing list pgsql-hackers

From Dave Page
Subject RE: [ODBC] ODBC <6.4 protocol
Date
Msg-id 8568FC767B4AD311AC33006097BCD3D61A2998@woody.vale-housing.co.uk
Whole thread Raw
List pgsql-hackers

> -----Original Message-----
> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
> Sent: 14 February 2001 06:20
> To: PostgreSQL-development
> Cc: PostgreSQL odbc list
> Subject: [ODBC] ODBC <6.4 protocol
>
>
> I have backed out the changes to ODBC that removed compatibility with
> <6.4 servers, so the 7.1 ODBC code still supports the older servers.
> I have changed the dialog box from "6.4+" to "7.X,6.4+" to
> make it less
> confusing for users.
>
> Is that ODBC protocol dialog box needed?  Can the client
> auto-detect the
> server version?
>

I would assume not because the driver needs to make the connection and
execute SELECT version() to figure out the server version (which is what
happens with the current driver during the ODBC connection initialisation),
unless there is a way to figure it out from the server's response when the
tcp/ip connection is initiated. I'm not familiar with the protocol used
though so I can't comment on that...

Regards,

Dave.

pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: locale support
Next
From: Bruce Momjian
Date:
Subject: Open 7.1 items