head 1.11; access; symbols pkgsrc-2023Q4:1.11.0.8 pkgsrc-2023Q4-base:1.11 pkgsrc-2023Q3:1.11.0.6 pkgsrc-2023Q3-base:1.11 pkgsrc-2023Q2:1.11.0.4 pkgsrc-2023Q2-base:1.11 pkgsrc-2023Q1:1.11.0.2 pkgsrc-2023Q1-base:1.11 pkgsrc-2022Q4:1.10.0.10 pkgsrc-2022Q4-base:1.10 pkgsrc-2022Q3:1.10.0.8 pkgsrc-2022Q3-base:1.10 pkgsrc-2022Q2:1.10.0.6 pkgsrc-2022Q2-base:1.10 pkgsrc-2022Q1:1.10.0.4 pkgsrc-2022Q1-base:1.10 pkgsrc-2021Q4:1.10.0.2 pkgsrc-2021Q4-base:1.10 pkgsrc-2021Q3:1.8.0.48 pkgsrc-2021Q3-base:1.8 pkgsrc-2021Q2:1.8.0.46 pkgsrc-2021Q2-base:1.8 pkgsrc-2021Q1:1.8.0.44 pkgsrc-2021Q1-base:1.8 pkgsrc-2020Q4:1.8.0.42 pkgsrc-2020Q4-base:1.8 pkgsrc-2020Q3:1.8.0.40 pkgsrc-2020Q3-base:1.8 pkgsrc-2020Q2:1.8.0.36 pkgsrc-2020Q2-base:1.8 pkgsrc-2020Q1:1.8.0.16 pkgsrc-2020Q1-base:1.8 pkgsrc-2019Q4:1.8.0.38 pkgsrc-2019Q4-base:1.8 pkgsrc-2019Q3:1.8.0.34 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.8.0.32 pkgsrc-2019Q2-base:1.8 pkgsrc-2019Q1:1.8.0.30 pkgsrc-2019Q1-base:1.8 pkgsrc-2018Q4:1.8.0.28 pkgsrc-2018Q4-base:1.8 pkgsrc-2018Q3:1.8.0.26 pkgsrc-2018Q3-base:1.8 pkgsrc-2018Q2:1.8.0.24 pkgsrc-2018Q2-base:1.8 pkgsrc-2018Q1:1.8.0.22 pkgsrc-2018Q1-base:1.8 pkgsrc-2017Q4:1.8.0.20 pkgsrc-2017Q4-base:1.8 pkgsrc-2017Q3:1.8.0.18 pkgsrc-2017Q3-base:1.8 pkgsrc-2017Q2:1.8.0.14 pkgsrc-2017Q2-base:1.8 pkgsrc-2017Q1:1.8.0.12 pkgsrc-2017Q1-base:1.8 pkgsrc-2016Q4:1.8.0.10 pkgsrc-2016Q4-base:1.8 pkgsrc-2016Q3:1.8.0.8 pkgsrc-2016Q3-base:1.8 pkgsrc-2016Q2:1.8.0.6 pkgsrc-2016Q2-base:1.8 pkgsrc-2016Q1:1.8.0.4 pkgsrc-2016Q1-base:1.8 pkgsrc-2015Q4:1.8.0.2 pkgsrc-2015Q4-base:1.8 pkgsrc-2015Q3:1.7.0.4 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.2 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.5.0.12 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.10 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.8 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.6 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.4 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.2 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.4.0.2 pkgsrc-2013Q3-base:1.4; locks; strict; comment @# @; 1.11 date 2023.03.16.07.50.16; author adam; state Exp; branches; next 1.10; commitid 6aPeEGhAN2S5ZjhE; 1.10 date 2021.10.26.10.10.05; author nia; state Exp; branches; next 1.9; commitid M6fNIkrZ0rV41jeD; 1.9 date 2021.10.07.13.35.50; author nia; state Exp; branches; next 1.8; commitid USVQpuM9JMvPLSbD; 1.8 date 2015.11.03.01.56.35; author agc; state Exp; branches; next 1.7; commitid CWcfajqBx1XKtAHy; 1.7 date 2015.06.07.22.42.49; author joerg; state Exp; branches; next 1.6; commitid A3vLNNNGMFxjbyoy; 1.6 date 2015.06.07.22.42.15; author joerg; state Exp; branches; next 1.5; commitid I88xHrkzAMJKayoy; 1.5 date 2013.10.04.18.32.07; author joerg; state Exp; branches; next 1.4; commitid TakCgMgPhbgYq08x; 1.4 date 2013.09.11.12.22.33; author joerg; state Exp; branches; next 1.3; commitid DwUslyGPCDaD715x; 1.3 date 2013.08.30.10.19.37; author joerg; state Exp; branches; next 1.2; commitid YpUixviB3UTKPs3x; 1.2 date 2013.08.27.22.28.05; author joerg; state Exp; branches; next 1.1; commitid mUinPoEFqsDBX83x; 1.1 date 2013.07.05.21.04.45; author joerg; state Exp; branches; next ; commitid cNYkTwPmVy6EckWw; desc @@ 1.11 log @soci: updated to 4.0.3 Version 4.0.3 (99e2d567) differs from 4.0.2 in the following ways: Changes affecting all or multiple backends: - Fix opening sessions from pool - Fix default backend search path - Fix build with latest glibc versions where SIGSTKSZ is not constant - Document using SOCI as a CMake subdirectory - Document using SOCI with Conan Backend-specific changes: - MySQL - Implement get_table_names() for MySQL - Fix MySQL backend build with MySQL >= 8 - Fix mysql_library_end() in multithreaded environment - Make mysql_soci_error::get_error_category() more useful - ODBC - Fix several bugs in vector into code - Fix memory leaks in case of SQLNumResultCols() failure. - Export odbc_session_backend::get_database_product() from DLL. - Oracle - Add support for detecting Oracle 20 and 21 to CMake - PostgreSQL - Fix compilation when "free" is redefined somewhere else. - SQLite3 - Fix bulk operations with vectors of size 1 in SQLite3 backend - Firebird - Suppress FB memory leaks --- Version 4.0.2 differs from 4.0.1 in the following ways: Changes affecting all or multiple backends: - Fix using SOCI from CMake projects using find_package() - Always set indicator to i_null when no data is read from the database - Add support for building SOCI with LTO - Enable ELF visibility support - Fix building tests under macOS on ARM 64 - Fix using custom types with an explicitly null indicator - Fix using vectors of custom types for DB/2, ODBC and Oracle - Fix vectors of XML and CLOB values for DB/2, Firebird, ODBC and Oracle - Don't return i_truncated for empty strings in a vector for DB/2, ODBC. - Make unloading dynamic backends safer by delaying it if necessary - Migrate most Linux CI builds to GitHub Actions from Travis CI - Fix rare deadlock in session::reconnect() - Fix all warnings in MSVS build Backend-specific changes: - MySQL - Add "reconnect" option - ODBC - Don't show interactive ODBC dialogs when reconnecting. - Fix session::get_last_insert_id() for empty tables with SQL Server. - Oracle - Implement session::get_next_sequence_value(). - Fix using default NUMBER type with rowset API - Handle reading from CLOBs that can't be read all at once. - Fix another memory leak in CLOB handling code. - PostgreSQL - Fix use of quoted identifiers with colons - Fix tests compilation under macOS - Fix tests with PostgreSQL 12 or later. - SQLite3 - Fix getting doubles from non-numeric columns. - Fix using uninitialized sqlite3_column member --- Version 4.0.1 differs from 4.0.0 in the following ways: - Add session::is_connected() - Fix DST adjustment when reading dates from the database - Make dynamic_backends::search_paths() actually available - Fix using std::vector> in query arguments - Allow using dt_blob and dt_xml with rowset API too - Fix or work around many compilation warnings with newer compilers. - DB2 - Fix memory leak. - ODBC - Fix bug with handling of strings of exactly ODBC_MAX_COL_SIZE length - Fix opening connections when using connection pooling. - Oracle - Improve detection for newer Oracle versions - Use bigger buffer for Oracle connection string length - Fix memory leak in Oracle backend when using CLOBs (XML or long strings). - PostgreSQL - Fix reconnect() to use the correct connection parameters - Improve error message returned on connection loss - Fix use of uninitialized connection variable on connection failure - Fix inadvertently broken use of single row mode - Fix handling of identifiers with colons - SQLite - Add support for "vfs" and "readonly" connection options - Fix std::tm handling - Fix "big int" detection --- Version 4.0.0 differs from 3.2.3 in the following ways: NOTICE: This is probably the last release compatible with C++98. - Added support for C++11 and C++17 compilation modes. - Added RELEASING.md how-to and scripts/release.sh helper for release managers. - Added context of the failure in soci_error::what() which now returns a longer and more useful message. Use the new get_error_message() method to get just the brief error message which used to be returned by what(). - Added logger class to allow customizing SOCI logging operations - Added helper for generating portable DDL and DML statements - Added portable column info and other metadata queries - Added helper exchange_type_cast<>() template function as better static_cast - Added values::get_number_of_columns() as convenient accessor. - Added public macro SOCI_NORETURN and use it in declaration. - Added handling of dt_unsigned_long_long to the simple interface. - Added new data type dt_blob with accompanying simple-interface support - Added basic support for error categories. - Added failover_callback interface - Added bulk iterators interface - Added basic package exporting to CMake configuration - Added bigstring (XML and CLOB) support - Added CMake option SOCI_POSTGRESQL_NOSINLGEROWMODE with default value OFF - Adopted new layout of the source tree - Although the build configuration is based on CMake 2.8, numerous improvements have been applied to the CMake scripts. - Converted all tests to use the Catch framework. - Fixed issues with throwing from soci_error copy constructor and assignment operator - Fixed backends loading in case SOCI is built with CMAKE_DEBUG_POSTFIX set - Fixed deadlock in soci::connection_pool::try_lease function. - Fixed numerous compilation warnings using various compilers. - Fixed non-copyability of connection_pool - Fixed uniform offset for BLOB read/write operations - Fixed memory leak when reusing into and use elements. - Fixed deduction of reference in boost::fusion::for_each - Added empty_blob() and nvl() to portable utilities. - Improved handling and conversions of time and timezone information values - Improved diagnostics with included query parameter names in error messages - Improve CMake configuration for integrating SOCI as subproject - Improved locale-independent conversions of floating-point numbers to string. - Include all public headers using soci/ prefix inside SOCI itself - Migrated documentation content from HTML to Markdown - Provided error context in exceptions and richer diagnostics - Replaced assertion with raising exception in case of connection_pool::lease() failure. - Remove use of std::unary_function and std::ptr_fun deprecated in C++11/17 - Split statement::clean_up into two operations bind_clean_up and clean_up - Updated the backend documentation. - Use 64-bit integer for next sequence and last insert ID values - DB2 -- Fixed ambiguous error handling during statement execution -- Fixed handling of NULL for strings during bulk querying -- Replaced SQLConnect with SQLDriverConnect to establish database session - Firebird -- Added SOCI_FIREBIRD_EMBEDDED option to allow building with embedded library. -- Added possibility to build the backend using embedded library (libfbembed). -- Added CLOB and XML support -- Fixed too eager start of implicit transaction -- Fixed bug with writing BLOB values -- Replaced truncation of too long VARCHAR columns values with throwing exception. - MySQL -- Added MySQL 8 to tested versions. -- Added get_last_insert_id function -- Added timeout support -- Fixed bug whe nusing get_affected_rows() and user defined types -- Replace throwing generic soci_error with mysql_soci_error - ODBC -- Added support for ODBC driver for DB2 which is not compliant to ODBC spec -- Fixed inserting strings of length greater than 8000 bytes into database -- Fixed get_affected_rows() when using FreeTDS driver. -- Fixed reading from unallocated memory (driver bug?) in ODBC with MySQL -- Fixed handling of NULL for strings during bulk querying -- Fixed memory leak of internal odbc_standard_use_type_backend buffer - Oracle -- Added oraocci12 name to Oracle client look-up by CMake. -- Added NLS support for connection parameters. -- Added Oracle wallet authentication. -- Added (partial) handling of OCI_SUCCESS_WITH_INFO. -- Added handling of more error codes for error categories. -- Added failover_callback interface implementation -- Added bulk iterators interface implementation -- Added bigstring (XML and CLOB) support -- Added lazy initialization of the temporary LOB objects for Oracle. -- Fixed uniform offset for BLOB read/write operations -- Fixed connection parameters parsing to allow spaces in values -- Fixed handling of BINARY_DOUBLE in dynamic row. -- Use SQLT_BDOUBLE for floating point values instead of SQLT_FLT. - PostgreSQL -- Added singlerows mode for PostgreSQL -- Added failover_callback interface implementation -- Added bulk iterators interface implementation -- Added test for the uuid data type -- Added bigstring (XML and CLOB) support -- Dropped support for PostgreSQL 7.x -- Fixed defining SOCI_POSTGRESQL_NOSINLGEROWMODE for PostgreSQL < 9 -- Fixed string to floating-point number conversions assuming "C" locale -- Fixed support for bytea across PostgreSQL versions older than 9 -- Fixed timestamp handling in UTC -- Fixed uniform offset for BLOB read/write operations -- Explicitly set extra_float_digits to 3 when using PostgreSQL >=9 in ODBC for consistency. -- Improve string to floating-point number conversion to be exact. - SQLite3 -- Added get_last_insert_id function -- Fixed clean up on error to enable getting detailed diagnostics -- Fixed issue numerous calls to fetch by better control when backend calls sqlite3_step -- Fixed memory leak in sqlite3_session_backend -- Fixed closing connection after obtaining error diagnostics -- Fixed affected rows count when reusing prepared statements @ text @$NetBSD: distinfo,v 1.10 2021/10/26 10:10:05 nia Exp $ BLAKE2s (soci-4.0.3.tar.gz) = 4e048690280bdf602fc9c852001e5773f3dd5019281de4af5e63bfb3f2671c74 SHA512 (soci-4.0.3.tar.gz) = 1a3a00b8656a95d0e47256fe5ce5a26bc3fc6379b8cadfb12d4e604fb0168724d6cd7090b6b47ee329822593089386a59bdd040b081d873fcc31ad3555031bc6 Size (soci-4.0.3.tar.gz) = 1213452 bytes @ 1.10 log @databases: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes The following distfiles could not be fetched (some may be only fetched conditionally): ./databases/cstore/distinfo D6.data.ros.gz ./databases/cstore/distinfo cstore0.2.tar.gz ./databases/cstore/distinfo data4.tar.gz @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.9 2021/10/07 13:35:50 nia Exp $ d3 3 a5 6 BLAKE2s (soci-3.2.2.tar.gz) = a6e71ef945941b3d56c5ff1db4a063f84f9a8cb95806869be2e60cc6fa326082 SHA512 (soci-3.2.2.tar.gz) = b18b82f5bb24072852cc02cece311d1d5ddb9cb9a029a2925b9e834905b20eb3ceaa3089f2aaf547771dc3c50eea87c351d2f172041116d1710138fa3b2fb1bf Size (soci-3.2.2.tar.gz) = 354047 bytes SHA1 (patch-CMakeLists.txt) = 589fed2101a09637cb3f052bf7915dd2bccf0385 SHA1 (patch-backends_postgresql_statement.cpp) = d8c9fc32b9866eb3756e7f6f684255840462ac56 SHA1 (patch-cmake_SociConfig.cmake) = d9b7585b4fe82058f70928e4a57058fa03273385 @ 1.9 log @databases: Remove SHA1 distfile hashes @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.8 2015/11/03 01:56:35 agc Exp $ d3 1 a3 1 RMD160 (soci-3.2.2.tar.gz) = d366c1773d23c551404a8e05791afc3a4b6acfdd @ 1.8 log @Add SHA512 digests for distfiles for databases category Problems found with existing distfiles: distfiles/D6.data.ros.gz distfiles/cstore0.2.tar.gz distfiles/data4.tar.gz distfiles/sphinx-2.2.7-release.tar.gz No changes made to the cstore or mariadb55-client distinfo files. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.7 2015/06/07 22:42:49 joerg Exp $ a2 1 SHA1 (soci-3.2.2.tar.gz) = 0a63cdbe719793c37b328a95778451a550f22c0a @ 1.7 log @Revert unintentional change. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.5 2013/10/04 18:32:07 joerg Exp $ d5 1 @ 1.6 log @Update PostgreSQL 9.3 to 9.3.8: - Avoid failures while fsync'ing data directory during crash restart - Fix pg_get_functiondef() to show functions' LEAKPROOF property, if set - Remove configure's check prohibiting linking to a threaded libpython on OpenBSD - Allow libpq to use TLS protocol versions beyond v1 @ text @a6 1 SHA1 (patch-backends_postgresql_standard-into-type.cpp) = 9d94bdf632deca3c39d4cc939e46771caa870996 @ 1.5 log @Allow building on Cygwin. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.4 2013/09/11 12:22:33 joerg Exp $ d7 1 @ 1.4 log @Update to soci 3.2.2: - Fix uninitialized indicators in conversion_into_type and conversion_use_type specialisations - Fixed placeholder matching for PostgreSQL-style casts with ORM - Fixed memory leaking in use binding in case of bind/unbind sequence - Fixed sscanf formatter for MinGW/MSVC in backends - Fixed partial placeholder name matching for ORM cases - Added test for use of indicators with rowset - Added test for get_affected_rows after bulk operations Add options for selecting MySQL/PostgreSQL/SQLite backends, defaulting to PostgreSQL. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.3 2013/08/30 10:19:37 joerg Exp $ d7 2 @ 1.3 log @Support C++11. Bump revision. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.2 2013/08/27 22:28:05 joerg Exp $ d3 4 a6 9 SHA1 (soci-3.2.1.tar.gz) = 38f602ec8d61c4563df8ea4d4ed318dc378e7096 RMD160 (soci-3.2.1.tar.gz) = 3e98139aa904c62dbf7cc6a1fae5fc73042a6364 Size (soci-3.2.1.tar.gz) = 343358 bytes SHA1 (patch-CMakeLists.txt) = c66f0b8fd3ca0fedaebedd6943ae0471f7c6ba35 SHA1 (patch-backends_postgresql_session.cpp) = d816ffc0c4981ef9b2bdcb28e9e4292b519d3e75 SHA1 (patch-backends_postgresql_soci-postgresql.h) = 1c01ebdad82d4f641024b8e73a4c853f1c83b134 SHA1 (patch-backends_sqlite3_soci-sqlite3.h) = 688260116f0e35f37f7de8d61366a3397259dc0c SHA1 (patch-core_once-temp-type.cpp) = 5d19aa72accd8d3883915283c1380df2ec4c7e5c SHA1 (patch-core_once-temp-type.h) = 5c08a4c0f5bba3729bfec2c6930b6145da5e864d @ 1.2 log @Merge get_next_sequence_value support for PostgreSQL from upstream. Bump revision. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.1 2013/07/05 21:04:45 joerg Exp $ d10 2 @ 1.1 log @Add soci-3.2.1: SOCI is a database access libary for C++. It provides a natural interface with extensive STL integration. A number of major database servers are accessable. @ text @d1 1 a1 1 $NetBSD$ d7 2 @