Hello community,

here is the log from the commit of package psqlODBC.12821 for 
openSUSE:Leap:15.1:Update checked in at 2020-06-08 00:16:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.1:Update/psqlODBC.12821 (Old)
 and      /work/SRC/openSUSE:Leap:15.1:Update/.psqlODBC.12821.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "psqlODBC.12821"

Mon Jun  8 00:16:34 2020 rev:1 rq:810969 version:12.01.0000

Changes:
--------
New Changes file:

--- /dev/null   2020-05-28 02:28:09.919761697 +0200
+++ 
/work/SRC/openSUSE:Leap:15.1:Update/.psqlODBC.12821.new.3606/psqlODBC.changes   
    2020-06-08 00:16:35.455725063 +0200
@@ -0,0 +1,321 @@
+-------------------------------------------------------------------
+Mon Feb 17 21:04:03 UTC 2020 - Martin Herkt <[email protected]>
+
+- 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 - [email protected]
+
+- 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 <[email protected]>
+
+- 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 - [email protected]
+
+- 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 - [email protected]
+
+- 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().
+
+-------------------------------------------------------------------
+Wed Feb 21 15:02:12 UTC 2018 - [email protected]
+
+- bsc#1062860 / fate#324501: For adding packaging to SLE15
+- Update to version 10.01.0000:
+  * Review the handling of @@IDENTITY when a column's default is 
nextval(a_sequence) but the column isn't a serial. Unfortunately the function 
pg_get_serial_sequence() doesn't work for sequences which aren't serial type.
+  * Add add an option -NoPDB to buildInstallers.ps1. The switch option can be 
specified so as to exclude PDB files from the installers.
+  * Fix a bug in pgdebug_realloc().
+  * Free any data at exec params before the statement is executed again or the 
next set of parameters is processed. If not, then there will be a memory leak 
when the next SQLParamData/SQLPutData is called.
+  * Review the level of MYLOG, QLOG. Divide *level 1(detail)* log into *level 
1(tuple level)* log and *level 2(detail)* log. 
+
+-------------------------------------------------------------------
+Wed Dec  6 11:23:50 UTC 2017 - [email protected]
+
+- Update to version 10.00.0000:
+  * Fix multibyte handling of ansi driver.
+  * Handle PG 10 identity columns.
+  * For PG10 servers, we will never see "unknown" output columns.
+  * Improve @@identty handling.
+    Use multibyte-aware eatTableIdentifiers() instead of next_name_token().
+    Use identifierEscape() to escape single quotes or double quotes.
+  * PG_PRINTF_ATTRIBUTE instead of printf in __attribute__((format(printf, .., 
..))) function attribute.
+  * Review the use of encoded_nextchar().
+    Remove variables which work in conjunction with encstr(encoded_str) so as 
to avoid misleadingness.
+  * Use pg_get_serial_sequence() to get serial sequence of identity columns or 
serial columns.
+    pg_get_serial_sequence() for identity columns became available in PG 10.
+  * Preparation for development with VC15(VS 2017).
+  * Fix the bug that 'create table T_$001 (\81c)' fails when 
useServerSidePrepare is turned on.
+
+  Changes from 09.06.0500:
+   * Fix a segfault on ResolveOneParam() function while executing a query after
+     calling SQLSetStmtAttr(.., SQL_ATTR_APP_PARAM_DESC, 
an_ARD_for_another_statement, ..).
+   * Fix a linkage error when doing installcheck for test/win.mak.
+   * Fix a bug when fetching bytea field to SQL_C_BINALY data. It's bad to 
double count of bytes.
+   * Handle '$'s in identifiers correctly. Also take multibyte characters into 
account in identifiers.
+   * Reduce the use of snprintfcat(or SPRINTFCAT_FIXED macro) as much as 
possible.
+     Instead use PQExpBuffer library without having to worry about buffer 
length.
+   * Use macro MYLOG instead of function mylog in preparation for later 
changes and unify mylog().
+   * Implement myprintf() which prints logs according to printf format and 
make logs a little easier
+     to read using the macro MYPRINTF() which calls myprintf().
+  * Introduce token control while parsing. Detect *select .. into* or *select 
... for update*
+    and suppress *declare .. cursor for* clause in declare/fetch mode using 
the mechanism.
+  * Add __FILE__, __FUNCTION__, __LINE__ to MYLOG.
+  * Fix an parameter unmatch error which would cause a crash.
+  * Removed some qlogs, changed some qlogs to MYLOG and added some qlogs.
+  * Move the implemetation of GetExeName() from psqlodbc.c(psqlsetup.c) to 
mylog.c.
+  * Remove the GssAuthUseGssapi option completely.
+  * Fix bug that calls strdup() for NULL pointers.
+  * Detect fast shutdown while connecting.
+  * Put back the behavior when conversion errors from the current locale to 
SQLWCHAR occur.
+  Simply returns zero length string instead of erroring out.
+  * Add level parameter to Commlog/Mylog option of setup program.
+  * Add __attribute__((format(printf,3,4))) to the declaration of 
snprintfcat().
+  * Allow PROCCALL in ReadOnly mode.
+
+  Changes from 09.06.0410:
+  * Fix buffer truncations. The truncations occured when concatenating 
'RELEASE xxxx...;' and 'SAVEPOINT xxxx....'.
+  * Correct the behavior of snprintfcat() on Windows using posix_vsnprintf() 
instead of _vsnprintf().
+  * Handle StrLen_or_IndPtr argument of SQLBindParameter() properly when
+    StrLen_or_IndPtr doesn't point to SQL_NTS and conversions between SQLWCHAR 
and SQLCHAR occur.
+  * Make quote_table() and ti_quote() thread safe.This change fixes "relation 
does not exist".
+
+- Remove psqlodbc-build.patch: don't see why this is needed.
+  No mention of why it was added anywhere.
+
+-------------------------------------------------------------------
+Fri Jan 27 15:50:45 UTC 2017 - [email protected]
+
+- Update to version 09.05.0400
+  * Ignore the difference between CR LF, LF and CR line break when
+    comparing expected and result output.
+  * Fix the bug SQLGetDescFieldW or SQLColAttributeW mistakenly
+    returns SQL_ERROR.
+  * for complete list of changes, see 
+    /usr/share/doc/packages/psqlODBC/release.html
+
+-------------------------------------------------------------------
+Thu Mar 12 16:11:41 UTC 2015 - [email protected]
+
+- Update to version 09.03.0400
+  * No short ChangeLog available; please read 
+    /usr/share/doc/packages/psqlODBC/release.html
+- Remove depreciated AUTHORS section
+- Remove psqlODBC-literal.patch; fixed on upstream release
+- Update psqlodbc-08.03.0200-build.patch > psqlodbc-build.patch
+- Update project Url
+- Use download Url as source
+- Remove redundant %clean section
+
+-------------------------------------------------------------------
+Tue Apr 23 13:09:31 UTC 2013 - [email protected]
+
+- fix build on openSUSE > 12.3 with new unixODBC
+
++++ 124 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Leap:15.1:Update/.psqlODBC.12821.new.3606/psqlODBC.changes

New:
----
  psqlODBC-internal.patch
  psqlODBC.changes
  psqlODBC.spec
  psqlodbc-12.01.0000.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ psqlODBC.spec ++++++
#
# spec file for package psqlODBC
#
# 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
# 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:        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
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

%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 ++++++
--- connection.h.orig
+++ connection.h
@@ -11,7 +11,7 @@
 
 #include "psqlodbc.h"
 #include <libpq-fe.h>
-#include "pqexpbuffer.h"
+#include "internal/pqexpbuffer.h"
 
 #include <time.h>
 

Reply via email to