Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package psqlODBC.16835 for openSUSE:Leap:15.2:Update checked in at 2021-08-23 00:06:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2:Update/psqlODBC.16835 (Old) and /work/SRC/openSUSE:Leap:15.2:Update/.psqlODBC.16835.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "psqlODBC.16835" Mon Aug 23 00:06:39 2021 rev:1 rq:913221 version:13.01.0000 Changes: -------- New Changes file: --- /dev/null 2021-07-22 10:06:18.349420535 +0200 +++ /work/SRC/openSUSE:Leap:15.2:Update/.psqlODBC.16835.new.1899/psqlODBC.changes 2021-08-23 00:06:40.111728462 +0200 @@ -0,0 +1,415 @@ +------------------------------------------------------------------- +Wed Jun 30 20:48:14 UTC 2021 - Michael Vetter <mvet...@suse.com> + +- Update to 13.01.0000: + * Fix a bug of CC_send_query_append() when the + ignore_roundtrip_time flag is on. + * Add a call for SQLDescribeCol() before SQLExecute() to prepare-test. + * The diff of the result was reported by Mangold Fabian and will be + fixed in the later commit. + * Add a *update returning* test case to insertreturning regression test. + * The diff of the result was reported by Patrick Cheung and will be + fixed in the later commit. + * Let SQLDescribeCol() use parsed result when the current executed + result is NULL. + * This change fixes the diff of prepare-test regression test reported + by Mangold Fabian. + * Let SQLExecute() destroy the old result first. + * This change fixes the diff of insertreturning-test regression test + reported by Patrick Cheung. + * Forget to apply disable_convert_func flag to VARCHAR and LONGVARCHAR. + * Prioritize DISABLE_KEEPALIVE checkbox over the disable_keepalive + bit of ExtraOptions. + * Format check for ExtraOptions of setup dialog. + +------------------------------------------------------------------- +Wed Jun 30 20:46:53 UTC 2021 - Michael Vetter <mvet...@suse.com> + +- Update to 13.00.0000: + * Add support for CONVERT scalar function. + * Cope with the case that openssl libraries link msvc runtimes + other than libraries which psqlodbc or libpq links. + * Call AC_CHECK_SIZEOF() or AC_CHECK_TYPES() macros at earlier + stage where LIBS variable isn't set yet. + * These macros compile and run some programs. On some platforms + (with some linker options like --no-as-needed in Lnux Gnu linker) + the programs try to link libraries specified by LIBS variable + at run time. There are some cases that the programs fail due + to missing library which is actually not needed and + AC_CHECK_SIZEOF() returns 0. + * Fix a compilation error with GCC 10 due to conflicting + variable names. + * Patch by Paul Wise. + * Remove curr_param_result property of StatementClass and + separate parsed result from the exec result. + * Add support for development with VC16(Visual Studio 2019). + * MSToolsVersion parameter of BuildAll.ps1 and of regress.ps1 + are deprecated. + * Hold the first and last result for parametrized SQL statements + with array of parameters. + * This would improve the performance of bulk inserts/updates etc. + * Revise the handling of QResultClass list. + * Introduce macros QR_concat(), QR_detach() and QR_next(). + * Correct the handling of SQL_ROW_ERROR and SQL_ROW_SUCCESS_WITH_INFO. + * Remove the single table restriction in SC_set_SS_columnkey. + * Improve error reporting about SC_pos_reload_needed(). + +------------------------------------------------------------------- +Thu Jun 4 09:18:09 UTC 2020 - Michael Vetter <mvet...@suse.com> + +- Update to 12.02.0000: + * Add a new *Display Optional Error Message* option. + This option allows to display error messages other than primary + one. Also add documentaition about the option and + *Numeric as* option. + * Handle notice messages in libpq_bind_and_exec(). + Sets and resets a notify receiver around PQexecParams() or + PQexecPrepared(). + * Ignore PQtransactionStatus PQTRANS_ACTIVE in + LIBPQ_update_transaction_status(). PQTRANS_ACTIVE isn't a + transaction status. + * Improve execution of parameterized SQL statements with arrays + of parameters by sending chunks of SQL statements. + If SQL_ATTR_CURSOR_TYPE of an statement is + SQL_CURSOR_FORWARD_ONLY, SQL_ATTR_CONCURRENCY is + SQL_CONCUR_READ_ONLY and extended protocol isn't used, the + batch execution of the statement is possible. A new option + Batch Size was introduced for such cases. + Batch Size: Split an array (of parameters) into chunks of + Batch Size to execute statements. The last chunk may contain + less than Batch Size elements. Setting 1 to this option forces + the current one by one execution. + Also turn off use_server_side_prepare option temporarily when + batch executuion is possible. + * Change SC_execute() so that it returns a return code which is + not affetced by the preceding results. It's necessary for + batch execution with arrays of parameters. + * Add a new option IgnoreTimeout. + * Some tools issue issue SQLSetStmtAttr(.., SQL_ATTR_QUERY_TIMEOUT,,) + internally and sometimes it's difficult for users to change the + timeout value. You can disable the timeout by turning on this option. + * An improvement for psqlodbc developpers. + Make it possible to call some shell scripts from other directories. +- Update psqlODBC-internal.patch + +------------------------------------------------------------------- +Mon Feb 17 21:04:03 UTC 2020 - Martin Herkt <9+suse@cirno.systems> + +- Update to 12.01.0000: + * Fix result-conversions regression test. + + Remove tests for abstime type because the type was removed + in PG12. + + Update results for PG12's new floating point output format. + * Fix the bug that causes Error : A parameter cannot be found + that matches parameter name???ene'. + + Check BuildResult(the result of drivers build) before + building installers. + + Enclose the command part * Find_VSDir $vc_ver * with + parentheses so that the subsequent * -ne "" * isn't + considered to be a parameter. + * Cope with the removal of pg_class.relhasoids in PG12 correctly + when retrieving updatable cursors. +- Changes in 12.00.0000: + * Fix the bug that SQLGetDescField() for Field SQL_DESC_COUNT + returns SQLINTEGER value which should be of type SQLSMALLINT. + * SQLGetTypeInfo() filters SQL_TYPE_DATE, SQL_TYPE_TIME and + SQL_TYPE_TIMESTAMP for ODBC 2.x applications. + * Added support for scalar functions TIMESTAMPADD(), + TIMESTAMPDIFF() and EXTRACT() functions. + * The macro IS_NOT_SPACE() is used for not pointers but integers. + * Fix a crash bug when SQLProcedureColumns() handles + satisfies_hash_partition(). The proargmodes column of + satisfies_hash_partition()'s pg_proc entry is not null but the + proallargtypes column is null. + + +------------------------------------------------------------------- +Mon May 27 06:10:16 UTC 2019 - mvet...@suse.com + +- Cleanup with spec-cleaner +- Update to 11.01.0000: + * Correct the rgbInfoValue returned by + SQLGetInfo(SQL_TIMEDATE_FUNCTIONS, ..). + * Because the field 'relhasoids' was dropped in PG12, psqlodbc + drivers would have some troubles with PG12 servers. + * Register drivers {PostgreSQL ANSI} and {PostgreSQL Unicode} + during installation on 64bit Windows so that users could use + the same connection strings in both x86 and x64 environments. + * Correct the rgbInfoValue returned b + SQLGetInfo(SQL_LIKE_ESCAPE_CLAUSE, ..). + * Fix a typo in SQLForeignKeys-ResultSet-Column. 'deferrablity' + should be 'DEFERRABILITY'. + * Correct the rgbInfoValue returned by + SQLGetInfo(.., SQL_NUMERIC_FUNCTIONS(SQL_SYSTEM_FUNCTIONS + or SQL_STRING_FUNCTIONS, ..). + * Bug fix: don't forget to set parameter numbers while handling + escaped ODBC functions. + * ix test_connection() in setup.c so that settings of + conn_settings and pqopt option are reflected properly. + +------------------------------------------------------------------- +Wed Mar 13 14:46:32 UTC 2019 - Reinhard Max <m...@suse.com> + +- Update to version 11.00.0000: + * Remove obsolete maps pointed out. + * Remove connSettings option and/or pqopt option from the + OutConnectionString parameter of SQLDriverConnect() when each + option doesn't exist in InConnectionString parameter. + * The parameters should be cast because parameters of concat() + function are variadic "any". + * Add an alias DX of *Database* keyword for connection strings + to aviod the use of "database" keyword which has a special + meaning in some apps or middlewares. + * numeric items without precision are unlimited and there's no + natural map between SQL Data types. + Add an option *Numeric(without precision) as* + * Fix a bug that SQLSpecialColumns() returns oid/xmin + incorrectly when a table does not exist. +- Fix build with PostgreSQL 11 that does not have pg_config in the + regular devel package anymore (psqlODBC-internal.patch, + bsc#1166821). +- Avoid self-obsoletion. + +------------------------------------------------------------------- +Wed May 23 10:15:15 UTC 2018 - mvet...@suse.com + +- Update to version 10.03.0000: + * Put back the handling of lock_CC_for_rb variable. The variable lock_CC_for_rb should be held per connection. + * Fix SQLGetTypeInfo() so that it filters SQL_TYPE_DATE, SQL_TYPE_TIME or SQL_TYPE_TIMESTAMP for ODBC 2.x applications. + * Revise ConfigDSN() so that it handles the 4th parameter(lpszAttribues) correctly. + * Fix a crash bug when handling error messages. Also modified some error messages. + * Let SQLTables() or SQLTablePrivileges() show partition tables. + * Fix build on Solaris defined(__SUNPRO_C) using Solaris Studio + * Reduce DB access to pg_class or pg_index by caching relhasoids, relhassubclass etc. It would improve the performance of SQLSetPos() or SQLBulkOperations() very much in some cases. + +------------------------------------------------------------------- +Thu Apr 5 13:03:05 UTC 2018 - mvet...@suse.com + +- Update to version 10.02.0000: + * It's safer to call setlocale(LC_CTYPE, "") than calling setlocale(LC_ALL, "") + * Avoid replacing effective notice messages. + * Handle MALLOC/REALLOC errors while fetching tuples more effectively. + * Make SQLSetPos(SQL_DELETE/SQL_REFRESH) more effective. Because queries calling currtid(2) like + select .. from .. where ctid=currtid2(.., ..) cause Seq Scan, their execution may be very slow. + It is better to execute queries using subqueries like + select .. from .. where ctid=(select currtid2(.., ..)) because they cause Tid Scan. + * Fix a crash bug in AddDeleted(). + ++++ 218 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:Leap:15.2:Update/.psqlODBC.16835.new.1899/psqlODBC.changes New: ---- psqlODBC-internal.patch psqlODBC.changes psqlODBC.spec psqlodbc-13.01.0000.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ psqlODBC.spec ++++++ # # spec file for package psqlODBC # # Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define tarname psqlodbc Name: psqlODBC Version: 13.01.0000 Release: 0 Summary: ODBC Driver for PostgreSQL License: LGPL-2.1-or-later Group: Productivity/Databases/Clients URL: https://odbc.postgresql.org/ Source0: https://ftp.postgresql.org/pub/odbc/versions/src/%{tarname}-%{version}.tar.gz Patch0: psqlODBC-internal.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: openssl-devel BuildRequires: postgresql-devel BuildRequires: unixODBC-devel PreReq: %{_bindir}/odbcinst Obsoletes: pg_odbc < %{version}-%{release} Obsoletes: postgresql-odbc < %{version}-%{release} Provides: pg_iface:%{_prefix}/lib/pgsql/odbcinst.ini Provides: pg_odbc = %{version}-%{release} Provides: postgresql-odbc = %{version}-%{release} %description This package contains the ODBC (Open DataBase Connectivity) driver and sample configuration files needed for applications to access a PostgreSQL database using ODBC. %prep %setup -q -n %{tarname}-%{version} %patch0 -p1 %build export CPPFLAGS="-I/usr/include/pgsql" %configure --with-unixodbc make %{?_smp_mflags} %install %make_install find %{buildroot} -type f -name "*.la" -delete -print %post /sbin/ldconfig # odbcinst uses reference counting, so we don't # need to take care for the update case here. odbcinst -i -l -d %{_libdir}/psqlodbcw.so -r <<EOF [PSQL] Description = PostgreSQL %ifarch x86_64 ppc64 ia64 s390x Driver64 = %{_libdir}/psqlodbcw.so %else Driver = %{_libdir}/psqlodbcw.so %endif EOF %postun /sbin/ldconfig # odbcinst uses reference counting, so we don't # need to take care for the update case here. odbcinst -u -l -d %{_libdir}/psqlodbcw.so -n PSQL %files %doc *.txt docs/* %{_libdir}/psql* %changelog ++++++ psqlODBC-internal.patch ++++++ diff -urEbw psqlodbc-12.02.0000/connection.h psqlodbc-12.02.0000.new/connection.h --- psqlodbc-12.02.0000/connection.h 2020-05-26 11:25:36.000000000 +0200 +++ psqlodbc-12.02.0000.new/connection.h 2020-06-04 11:23:11.137604357 +0200 @@ -11,7 +11,7 @@ #include "psqlodbc.h" #include <libpq-fe.h> -#include "pqexpbuffer.h" +#include "internal/pqexpbuffer.h" #include <time.h> diff -urEbw psqlodbc-12.02.0000/statement.h psqlodbc-12.02.0000.new/statement.h --- psqlodbc-12.02.0000/statement.h 2020-05-26 11:25:36.000000000 +0200 +++ psqlodbc-12.02.0000.new/statement.h 2020-06-04 11:23:08.981589595 +0200 @@ -12,7 +12,7 @@ #include "psqlodbc.h" #include <time.h> -#include "pqexpbuffer.h" +#include "internal/pqexpbuffer.h" #include "pgtypes.h" #include "bind.h" #include "descriptor.h"