[HACKERS] Re: [ODBC] ODBC 6.4 protocol

2001-02-14 Thread Hiroshi Inoue
Dave Page wrote:
 
  -Original Message-
  From: Bruce Momjian [mailto:[EMAIL PROTECTED]]
 
 
  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


[HACKERS] RE: [ODBC] ODBC 6.4 protocol

2001-02-14 Thread Dave Page



 -Original Message-
 From: Bruce Momjian [mailto:[EMAIL PROTECTED]]
 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.