Improved version handling introduced by Dave Page.
authorHiroshi Inoue <inoue@tpf.co.jp>
Tue, 6 Feb 2001 02:21:12 +0000 (02:21 +0000)
committerHiroshi Inoue <inoue@tpf.co.jp>
Tue, 6 Feb 2001 02:21:12 +0000 (02:21 +0000)
commitfe512571cfa7518bf4f2e430a309be90c4a437ca
treefe38de465791f7671de706a61533f1bcd633a20b
parentecf3052b1ae7fc0f52a693d7729b54e0e8884b4c
Improved version handling introduced by Dave Page.
The driver version is 07.01.0002 now.
1) initialized pg_version by DSN's protocol info
   so that we could always use pg_version info
   once a connection is established (pg_version()
   didn't exist before 6.4). PROTOCOL_XX() macros
   are removed(except from connection.[ch]).
2) provided a few macros to encapsulate connection's
   version info and replaced existent comparison
   stuff by those macros.
3) change SQLTables() so that 7.1 servers could show
   views.

In addtion, the following patch from Dave Page is applied.

  This patch fixes a bug in SQLGetInfo for SQL_DBMS_VER which corrupted the
  driver version string. The driver version number has also been incremented
  to 07.01.0002.

  Regards, Dave. <<odbc.diff>>
columninfo.c
connection.c
connection.h
drvconn.c
info.c
psqlodbc.h
psqlodbc.rc