Thread: RE: [ODBC] ODBC <6.4 protocol

RE: [ODBC] ODBC <6.4 protocol

From
Dave Page
Date:

> -----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.