]> granicus.if.org Git - postgresql/commit
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)
commit5d08521fcd1a5e00f65f25a342b81a11ceb73a68
treead902b1435af6fc3d11e483dbf8e98e11f174479
parent300e28888f63ee469244612f14fec5216eddef33
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>>
src/interfaces/odbc/columninfo.c
src/interfaces/odbc/connection.c
src/interfaces/odbc/connection.h
src/interfaces/odbc/drvconn.c
src/interfaces/odbc/info.c
src/interfaces/odbc/psqlodbc.h
src/interfaces/odbc/psqlodbc.rc