summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-12-09fix release notes to properly reflect the change (#81)HEADmasterDave Cramer
2024-12-09Update release notes and versions for 17.00.0004 (#80)Dave Cramer
2024-12-09Install the drivers with short file names (#76)Christian Ullrich
* Install the drivers with short file names This avoids the need to post-process the MSI file to work around http://wixtoolset.org/issues/1422/ (installing ODBC drivers with long file names fails). For compatibility with existing configurations the short-named DLLs are also installed with their original long names. * Remove modify_msi.vbs
2024-11-25updated release notes from 17_0003 back to 16_0000 (#78)Dave Cramer
2024-11-25Update version numbers for release 17.0003 (#77)Dave Cramer
2024-11-03Fix PG_ErrorInfo and ER_ReturnError when error message is larger than 65535 ↵r33s3n6
bytes (#70)
2024-10-28Correct wrong string method calls (#69)Christian Ullrich
These two calls have no effect because `std::string::empty()` only tests for emptiness, but does not cause it as apparently intended.
2024-10-28Fix typo failing the Rebuild target (#68)Christian Ullrich
2024-10-16fix small memory leak of 'encoding' char array in 'CC_initial_log' function ↵iobnc
(#67) Co-authored-by: iopnc <yus.alekseenko@ao-avtomatika.ru>
2024-10-14Use WiX 5 (#66)Christian Ullrich
* Make product code automatically random Instead of externally generating it and using it explicitly. * Componentize the merge module This prevents upgrades from leaving files from the previous version behind that are not in the new version. * Configure drivers on x64 The Way It Should Be Done Use the ODBCDriver element only, without additional Registry settings. This works, although it does not solve the file name issue and therefore still requires removing the short file names from the File table. It also works for installing the x86 driver on an x64 system. Whether it works on an x86 system remains unknown. * Configure drivers on x86 In The Exact Same Way Tested on Windows 10 x86; the driver installs correctly and works at first glance (in Access, to be precise). Registry and file system look good. The comment saying it "probably would be safe" is probably correct. * Use candle's -arch option to select build platform According to docs, using Package/@Platform "is discouraged". The -arch option also provides the default bitness for components, making the Component/@Win64 attribute unnecessary in single-architecture packages. * Reindent * Save some attributes * Replace upgrade logic with MajorUpgrade element This element compiles into approximately the same entries in the Upgrade, CustomAction, and InstallExecuteSequence tables. * Remove unused GUID I think this was the product code, a long time ago. * Make MSI file smaller By about 20 percent. * Better select where to remove short file names Use the FileName column itself instead of the file ID. This is less susceptible to changes in file IDs (and component IDs) that may happen when relying more on default behaviors in future WiX versions. * Build with WiX 5 This is a preview. It appears to build a working x64 installer; I have tested nothing else yet. * Clean up modify_msi.vbs Also, put blame where it belongs, which is Windows Installer. If this was a bug in WiX, then the fix would be to enforce 8.3 file names for ODBC drivers, and we wouldn't like that very much either, would we? * Increase WiX-5-ness - Remove most Component elements in favor of naked files - Replace PGFOLDER variable with ProgramFiles6432Folder The Condition element on Component has become an attribute in WiX 5, and the combination of preprocessor and component condition (i.e. include a non-x64 condition only in a non-x64 package) to install PGXA only from a package native to the underlying OS does not work anymore. Replace it with a pure component condition that includes the package architecture. The Template summary property has this information already, but it is not available from within the installation, and I'm not about to start writing custom actions. * Update build workflow for WiX 5
2024-10-08Remove the NMAKE build system for installers (#65)Christian Ullrich
It stopped working in early 2017 after version 9.6.1.
2024-10-02update version numbers (#63)Dave Cramer
2024-10-02Fix MSI error messages (#58)Christian Ullrich
Use the MSI property, not the WiX preprocessor variable (which was also wrongly used as a property name) so the product name actually appears in the error message instead of an empty string.
2024-10-01update version numbers to release 16.00.0007 to release a version 16 with ↵Dave Cramer
the latest memory fixes (#62)
2024-09-28Another place where refcnt in the COL_INFO object is unfortunately (#55)Alexandr Kuznetsov
erased. Signed-off-by: Alexandr Kuznetsov <progmachine@xenlab.one>
2024-09-27Use REL_17_STABLE (#53)Dave Cramer
2024-09-27update version numbers for release 17 (#52)Dave Cramer
* update version numbers for release 17
2024-09-27release 16_00_0006 bugfix for double free (#50)Dave Cramer
* release 16_00_0006 bugfix for double free
2024-09-27Fix for issue #47 - double free of COL_INFO object (#48)Alexandr Kuznetsov
* Fix for issue #47 - double free of COL_INFO object due to refcount breakage during reuse of directly found object in getColumnsInfo(...). One more possible memory leak of COL_INFO objects in getColumnsInfo(...). Signed-off-by: Alexandr Kuznetsov <progmachine@xenlab.one> * Fix spelling mistake in comment. Signed-off-by: Alexandr Kuznetsov <progmachine@xenlab.one> --------- Signed-off-by: Alexandr Kuznetsov <progmachine@xenlab.one>
2024-09-23prepare release notes and update version in configure.ac (#45)Dave Cramer
2024-09-23Update main.yml Build against PostgreSQL RC1 (#44)Dave Cramer
* Update main.yml Build against PostgreSQL RC1 * Update OPENSSL to 3.3.2
2024-08-11Implementation of SQLSetDescRec & SQLGetDescRec functions (#23)Hunaid Sohail
* Implemented SQLSetDescRec function - Fixed SQL_DESC_PRECISION field in IPDSetField & IPDGetField functions - Added support for other fields for bookmark column in ARDSetField - SQL_DESC_TYPE - SQL_DESC_DATETIME_INTERVAL_CODE - SQL_DESC_OCTET_LENGTH - SQL_DESC_PRECISION - SQL_DESC_SCALE * Implemented SQLGetDescRec function - Handled SQL_NO_DATA case in GetField functions - Handled 01004 SQLSTATE in GetField functions - Added support for SQL_DESC_NAME & SQL_DESC_NULLABLE IPDGetField functions * Implemented SQLGetDescRecW & SQLSetDescRecW functions - Updated PGAPI_GetFunctions function to get new functions - Updated psqlodbc.def file for new functions on Windows - Fixed HY007 error handling * Added regression test for DescRec functions
2024-08-06only change what is necessary (#12)Dave Cramer
2024-08-06Updated error code returned by SQLGetData function (#35)Carlos García
* Updated error code returned by SQLGetData function * use openssl v 3_3_1 --------- Co-authored-by: Carlos García García <cgarciag@denodo.com> Co-authored-by: Dave Cramer <davecramer@gmail.com>
2024-08-06build against postgresql version 17_beta2 (#37)Dave Cramer
* build against postgresql version 17_BETA2 * use openssl v 3_3_1
2024-05-28Prevent mimalloc release tag recursively triggering another release (#27)Adrian Grucza
2024-05-28Support building against VC17 on AMD64 (#9)Adrian Grucza
2024-05-24Fixed bugs, reported in issue #8. (#25)Alexandr Kuznetsov
* Fixed bugs, reported in issue #8. Bunch of memory leaks, occuring in tests. One heap-buffer-overrun in read operation at convert.c:3162. Two memory leaks, detected by my unit tests: password, conn_settings, pqopt fields overwrite if their values provided by both, system config and connstring. Restored reference counting lifetime managment of COL_INFO objects. Some minor cosmetic changes. Signed-off-by: Alexandr Kuznetsov <progmachine@xenlab.one> * Minor cosmetic changes. Signed-off-by: Alexandr Kuznetsov <progmachine@xenlab.one> * Forgot set col_info to NULL in TABLE_INFO object while clearing it. Signed-off-by: Alexandr Kuznetsov <progmachine@xenlab.one> * Fixing comments. Signed-off-by: Alexandr Kuznetsov <progmachine@xenlab.one> --------- Signed-off-by: Alexandr Kuznetsov <progmachine@xenlab.one>
2024-05-19Fixed typos in all source code and documentations (#11)Hunaid Sohail
2024-05-15Fix warnings about caches not being saved (#20)Adrian Grucza
2024-05-14Add workflow version to force PostgreSQL rebuild (#19)Adrian Grucza
2024-05-13Use strdup on non-Windows systems (#17)Adrian Grucza
2024-05-13use openssl64 from slprowebDave Cramer
2024-05-13Merge branch 'main' of github.com:postgresql-interfaces/psqlodbcDave Cramer
2024-05-12Add mimalloc release (#14)Adrian Grucza
2024-05-12Key caches based on software versions (#13)Adrian Grucza
* Key caches based on software versions * Rename cache keys to prevent partial key matches
2024-05-10use same version of openssl to build x64 and x86Dave Cramer
2024-05-10get latest windows version from edbDave Cramer
2024-05-07fix errorDave Cramer
2024-05-07fix errorDave Cramer
2024-05-07download win32openssl and build with itDave Cramer
2024-05-06use installed version of postgresql to build againstDave Cramer
2024-05-01increment version for testingDave Cramer
2024-05-01Merge pull request #1 from davecramer/fix_x64_releaseDave Cramer
Fix x64 release
2024-05-01add x64 artifactsDave Cramer
2024-04-26Use mimalloc to improve performance and reduce memory allocation lock ↵Adrian Grucza
contention (#6) * Add mimalloc submodule and update build script * Add steps to build and test with UseMimalloc * Update mimalloc submodule * Change UseMimalloc parameter type to switch * Add ExpectMimalloc parameter * Fetch mimalloc submodule and use mimalloc parameters * Prevent MIMALLOC_VERBOSE aborting tests * Uninstall driver after tests; upload mimalloc artifacts
2024-04-19Build and release using github actionsdavecramer
2024-03-04Merge pull request #3 from davecramer/fix_overflowDave Cramer
use unsigned word for lengths to avoid overflow
2024-02-28make stapos an unsigned int just in caseDave Cramer
2024-02-27use unsigned word for lengths to avoid overflowDave Cramer