Hello community, here is the log from the commit of package psqlODBC for openSUSE:Leap:15.2 checked in at 2020-06-04 16:02:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/psqlODBC (Old) and /work/SRC/openSUSE:Leap:15.2/.psqlODBC.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "psqlODBC" Thu Jun 4 16:02:54 2020 rev:22 rq:811048 version:12.01.0000 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/psqlODBC/psqlODBC.changes 2020-04-20 12:56:18.728806010 +0200 +++ /work/SRC/openSUSE:Leap:15.2/.psqlODBC.new.3606/psqlODBC.changes 2020-06-04 16:04:01.395590482 +0200 @@ -2 +2 @@ -Thu Apr 2 14:56:45 UTC 2020 - Reinhard Max <m...@suse.com> +Mon Feb 17 21:04:03 UTC 2020 - Martin Herkt <9+suse@cirno.systems> @@ -4,2 +4,99 @@ -- bsc#1166821, psqlODBC-internal.patch: - Fix build with PostgreSQL 11 and newer. +- 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(). Old: ---- psqlodbc-10.01.0000.tar.gz New: ---- psqlodbc-12.01.0000.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ psqlODBC.spec ++++++ --- /var/tmp/diff_new_pack.9e740F/_old 2020-06-04 16:04:02.055592690 +0200 +++ /var/tmp/diff_new_pack.9e740F/_new 2020-06-04 16:04:02.059592704 +0200 @@ -1,7 +1,7 @@ # # spec file for package psqlODBC # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,33 +12,32 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%define tarname psqlodbc Name: psqlODBC +Version: 12.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 -Url: https://odbc.postgresql.org/ -%define tarname psqlodbc -Summary: ODBC Driver for PostgreSQL -License: LGPL-2.1+ -Group: Productivity/Databases/Clients -Version: 10.01.0000 -Release: 0 -Source0: https://ftp.postgresql.org/pub/odbc/versions/src/%tarname-%{version}.tar.gz -Patch0: psqlODBC-internal.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -PreReq: /usr/bin/odbcinst -Obsoletes: pg_odbc -Obsoletes: postgresql-odbc -Provides: pg_iface:/usr/lib/pgsql/odbcinst.ini -Provides: pg_odbc -Provides: postgresql-odbc +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 @@ -46,31 +45,29 @@ PostgreSQL database using ODBC. %prep -%setup -q -n %tarname-%version +%setup -q -n %{tarname}-%{version} %patch0 %build -autoreconf -fi -# they don't ship configure.in, so we have to patch configure :( -sed -i '/LDFLAGS=/s/\$pg_libs//' configure -export CFLAGS="%optflags -fno-strict-aliasing -I/usr/include/pgsql" +export CPPFLAGS="-I/usr/include/pgsql" %configure --with-unixodbc +make %{?_smp_mflags} %install -make DESTDIR=%buildroot install -rm -f %buildroot%_libdir/*.la +%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 +odbcinst -i -l -d %{_libdir}/psqlodbcw.so -r <<EOF [PSQL] Description = PostgreSQL %ifarch x86_64 ppc64 ia64 s390x -Driver64 = %_libdir/psqlodbcw.so +Driver64 = %{_libdir}/psqlodbcw.so %else -Driver = %_libdir/psqlodbcw.so +Driver = %{_libdir}/psqlodbcw.so %endif EOF @@ -78,11 +75,10 @@ /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 +odbcinst -u -l -d %{_libdir}/psqlodbcw.so -n PSQL %files -%defattr(-,root,root,-) %doc *.txt docs/* -%_libdir/psql* +%{_libdir}/psql* %changelog ++++++ psqlodbc-10.01.0000.tar.gz -> psqlodbc-12.01.0000.tar.gz ++++++ ++++ 7948 lines of diff (skipped)