Prep relese 09.06.0100.
authorHiroshi Saito <hiroshi@winpg.jp>
Tue, 31 Jan 2017 15:33:30 +0000 (00:33 +0900)
committerHiroshi Saito <hiroshi@winpg.jp>
Tue, 31 Jan 2017 15:33:30 +0000 (00:33 +0900)
configure.ac
docs/release.html
installer/productcodes.mak
installer/upgrade.bat
installer/upgrade_x64.bat
version.h
winbuild/configuration_template.xml
windows-defaults.mak

index c19896f59096022025aa05cf4c6a5218f50c0389..97819580cc834d663de46835ad0b5e71755238ca 100644 (file)
@@ -1,5 +1,5 @@
 # Process this file with autoconf to produce a configure script.
-AC_INIT(psqlodbc, 09.05.0400, [pgsql-odbc@postgresql.org])
+AC_INIT(psqlodbc, 09.05.0100, [pgsql-odbc@postgresql.org])
 AC_PREREQ(2.57)
 AC_CONFIG_AUX_DIR(config)
 AM_INIT_AUTOMAKE
index 2828e1ae9f275e62e37d79b0f41b216dd441c865..ecbc67083fd531786573fb164abca8b807bf2d51 100644 (file)
@@ -9,6 +9,61 @@
 
 <h1>psqlODBC release notes</h1>
 <hr>
+<h2><a id="09.06.0100">psqlODBC 09.06.0100 Release</a></h2>
+Changes:<br />
+<ol type="1">
+<li><b>Optimization of a build system.</b><br /></li>
+some adjustment and support Visual Studio 2015 for Windows.
+<li><b>Use SIZEOF_LONG_INT to check whether SQLROWSETSIZE exists.</b><br /></li>
+SIZEOF_LONG_INT is defined in UnixODBC headers, while SIZEOF_LONG is defined
+by psqlodbc's ./configure. In odbcapi.c, we use it to determine what format
+modifier, %ld or %lld, to use for pointers. (Why don't we use %p?). We should
+rely on our autoconf check for that. In odbcapi.c, however, the check should
+match that in the ODBC headers, to determine whether SQLROWSIZE exists, so
+we should use SIZEOF_LONG_INT.
+<li><b>Fix the bug messages handle.</b><br /></li>
+handle_error_message() and handle_notice_message() were unified into handle_pgres_error() in the wrong way.
+Unfortunately handle_error_message() never handled notice messages and set positive errornumbers which mean
+ error_not_a_notice in psqlodbc. 
+I renamed the constant CONNECTION_SERVER_REPORTED_ERROR to CONNECTION_SERVER_REPORTED_SEVERITY_FATAL and 
+the constant CONNECTION_SERVER_REPORTED_WARNING to CONNECTION_SERVER_REPORTED_SEVERITY_ERROR so as to avoid
+ confusion.<br />
+Reported by Shinji Mecha.
+<li><b>Allow setting isolation level before the establishment of connection.</b><br /></li>
+<li><b>Fixed return proper sqlstate error 08S01 in case of communication link failures.</b><br /></li>
+Patch by Tsunakawa,Takayuki.
+<li><b>Check the existence of directory for logging.</b><br /></li>
+<li><b>Handle PG_DIAG_SEVERITY_NONLOCALIZED for servers whose version >= 9.6 so as to detect FATAL message properly.</b><br /></li>
+<li><b>Now default isolation level is server's default instead of fixed SQL_TXN_READ_COMMITTED.</b><br /></li>
+Patch by Tsunakawa,Takayuki.
+<li><b>Make sure the isolation level is SQLUINTEGER and add the declaration of CC_get_isolation().</b><br /></li>
+<li><b>Change the default for ExtraSysTablePrefixes to an empty string.</b><br /></li>
+<li><b>Use lo_lseek64(lo_tell64) instead of lo_lseek(lo_tell) if the server's version >= 9.3. We are now able to handle > 2GB BLOBs.</b><br /></li>
+<li><b>Implement SQL_FECTH_BY_BOOKMARK operation of SQLBulkOperations properly.</b><br /></li>
+<li><b>Enable SQLBulkOperations in declare/fetch mode using long (>=12bytes) bookmarks.</b><br /></li>
+Formerly the driver offered very simple bookmark support -- it is just
+the current row number. Now the driver offers more verbose bookmarks which
+contain KeySet informations (CTID (+ OID)). Though they consume 12bytes
+(row number + CTID) or 16bytes (row number + CTID + OID), they are useful
+in declare/fetch mode.
+<li><b>a hack to handle boolean items in VBA with MS Access.</b><br /></li>
+VBA seems to transform the where condition
+a_boolean_item=True
+into
+("a_boolean_item" = 1)
+which causes an ERROR:Operator does not exist boolean = integer .
+Here transforms it into
+("a_boolean_item"='1')
+which seems safe in anyway.
+<li><b>Add a new option 'pqopt' which specifies libpq connection parameters as a conninfo style string.</b><br /></li>
+The string must be enclosed with braces {} e.g. pqopt={sslcert=... sslkey=... sslrootcert=...} in the case
+ of connection strings. Though host, port, dbname, user, password, sslmode, keepalives_idle or keepalive_interval
+ parameters can be set using this option, they are ordinarily set by other options. When some settings for
+ those parameters conflict with other ordinary options, connections are rejected.
+<li><b>Fix a corner case when parsing connection strings enclosed with braces.</b><br /></li>
+<li><b>As tuple_updated item in AddUpdated(), the parameter should be used. Deriving from other items caused bad results.</b><br /></li>
+<li><b>Change the default of ByteaAsLongVarBinary from 0 to 1.</b><br /></li>
+</ol><br />
 <h2><a id="09.05.0400">psqlODBC 09.05.0400 Release</a></h2>
 Changes:<br />
 <ol type="1">
index bca5351d275ae071263a2cba9b071bdeada6b278..09e3c08fe3a6be428f9ba39154b6764cbbdf4979 100644 (file)
@@ -25,6 +25,9 @@ SUBLOC=0905
 !ELSE IF "$(POSTGRESDRIVERVERSION)" == "09.05.0400"
 PRODUCTCODE="B047E4C0-B2C9-44DE-B125-6A4DEEFD26CD"
 SUBLOC=0905
+!ELSE IF "$(POSTGRESDRIVERVERSION)" == "09.06.0100"
+PRODUCTCODE="FBA4F687-2F8E-4E5F-BB7B-60F606E6F1C3"
+SUBLOC=0906
 !ELSE
 !MESSAGE Driver version $(POSTGRESDRIVERVERSION) is not listed in productcodes.mak
 EXIT
index 8b2539273f19446a107f24c7d906e44f0cb06b77..954210995b6b2c8fbe3f4c304cce93facc6eb63a 100755 (executable)
@@ -3,7 +3,7 @@ cls
 
 echo This file will upgrade your psqlODBC installation.
 echo.
-echo You must have psqlODBC 09.05.xxxx installed
+echo You must have psqlODBC 09.06.xxxx installed
 echo from the official MSI installation to use this upgrade path.
 echo.
 echo If psqlODBC or any of it's components are in use
index b2183047b26240cd7880776202c87cd528a02b3b..2cd1571ff84afc659bc0fdcef99e096cad15336c 100755 (executable)
@@ -2,7 +2,7 @@
 cls
 echo This file will upgrade your psqlODBC installation.
 echo.
-echo You must have psqlODBC 09.05.xxxx installed
+echo You must have psqlODBC 09.06.xxxx installed
 echo from the official MSI installation to use this upgrade path.
 echo.
 echo If psqlODBC or any of it's components are in use
index d802d7c22b4106491be76bf70b7c59f4108f8e84..26bf58de21fe08076d1a75ef1ce29cedefb86680 100644 (file)
--- a/version.h
+++ b/version.h
  * and PG_DRVFILE_VERSION via winbuild/psqlodbc.vcxproj.
  */
 #ifndef POSTGRESDRIVERVERSION
-#define POSTGRESDRIVERVERSION      "09.05.0400"
+#define POSTGRESDRIVERVERSION      "09.06.0100"
 #endif
 #ifndef POSTGRES_RESOURCE_VERSION
 #define POSTGRES_RESOURCE_VERSION  POSTGRESDRIVERVERSION
 #endif
 #ifndef PG_DRVFILE_VERSION
-#define PG_DRVFILE_VERSION     9,5,04,00
+#define PG_DRVFILE_VERSION     9,6,01,00
 #endif
 
 #endif
index 95ee0e6c408d145d839a3f160144d2e13b9fd2d3..2bc3698d1dca66746c12d039e2b61a156fb6711d 100755 (executable)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>\r
-<Configuration version="09.03.0400" formatVersion="0.4" vcversion="" toolset="">\r
+<Configuration version="09.06.0100" formatVersion="0.4" vcversion="" toolset="">\r
   <title></title>\r
   <x86 disabled="no">\r
     <libpq version="">\r
index f198e70278d5ca8a4767220f73dffe25d8e674f9..605fabcff82b03902ff3f666a9888f010e498e2f 100644 (file)
@@ -5,11 +5,11 @@
 #after these defaults. (You can copy this file as a template, and modify)
 #
 !IF "$(TARGET_CPU)" == "x86"
-PG_INC=C:\Program Files (x86)\PostgreSQL\9.3\include
-PG_LIB=C:\Program Files (x86)\PostgreSQL\9.3\lib
+PG_INC=C:\Program Files (x86)\PostgreSQL\9.6\include
+PG_LIB=C:\Program Files (x86)\PostgreSQL\9.6\lib
 !ELSE
-PG_INC=$(PROGRAMFILES)\PostgreSQL\9.3\include
-PG_LIB=$(PROGRAMFILES)\PostgreSQL\9.3\lib
+PG_INC=$(PROGRAMFILES)\PostgreSQL\9.6\include
+PG_LIB=$(PROGRAMFILES)\PostgreSQL\9.6\lib
 !ENDIF
 
 # Enable/disable features