

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

Wed, 14 Feb 2001 08:13:21 -0000
Dave Page <dpage@vale-housing.co.uk>
RE: [ODBC] ODBC <6.4 protocol
Dave Page wrote:
> 
> > -----Original Message-----
> > From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
> >
> >
> > 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),

version() first appeared in 6.4.

Regards,
Hiroshi Inoue

Wed, 14 Feb 2001 17:45:45 +0900
Hiroshi Inoue <Inoue@tpf.co.jp>
Re: [ODBC] ODBC <6.4 protocol