%patchN. OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/psqlODBC?expand=0&rev=32
438 lines
21 KiB
Plaintext
438 lines
21 KiB
Plaintext
-------------------------------------------------------------------
|
||
Wed Feb 21 09:09:59 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||
|
||
- Use %autosetup macro. Allows to eliminate the usage of deprecated
|
||
%patchN.
|
||
|
||
-------------------------------------------------------------------
|
||
Wed Oct 4 11:22:19 UTC 2023 - Reinhard Max <max@suse.com>
|
||
|
||
- Update to 16.00.0000:
|
||
* Use autoconf to check for stdbool.h.
|
||
|
||
- Update to 13.02.0000:
|
||
* Fix a bug of CC_send_query_append() when the
|
||
ignore_roundtrip_time flag is onRemove a mylog() call which is
|
||
a dupilicate of the preceding MYLOG() macro call.
|
||
* Remove REFCUR_SUPPORT, add FetchRefcursors setting.
|
||
* Support fetching results from multiple refcursors.
|
||
* Named parameter binding support
|
||
* Use ODBC 3 column names for the result set of catalog
|
||
functions.
|
||
|
||
-------------------------------------------------------------------
|
||
Wed Jun 30 20:48:14 UTC 2021 - Michael Vetter <mvetter@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 <mvetter@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 <mvetter@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<6D>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 - mvetter@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 <max@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 - mvetter@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 - mvetter@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().
|
||
|
||
-------------------------------------------------------------------
|
||
Wed Feb 21 15:02:12 UTC 2018 - mvetter@suse.com
|
||
|
||
- 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 - mvetter@suse.com
|
||
|
||
- 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 - adam.majer@suse.de
|
||
|
||
- 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 - p.drouand@gmail.com
|
||
|
||
- 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 - mhrusecky@suse.com
|
||
|
||
- fix build on openSUSE > 12.3 with new unixODBC
|
||
|
||
-------------------------------------------------------------------
|
||
Tue Nov 3 19:09:39 UTC 2009 - coolo@novell.com
|
||
|
||
- updated patches to apply with fuzz=0
|
||
|
||
-------------------------------------------------------------------
|
||
Wed Nov 12 12:07:56 CET 2008 - max@suse.de
|
||
|
||
- Automate registering and unregistering the driver with unixODBC
|
||
on installation and uninstallation (bnc#420850).
|
||
|
||
-------------------------------------------------------------------
|
||
Thu Sep 11 13:38:30 CEST 2008 - max@suse.de
|
||
|
||
- New version: 08.03.0200. For details on the countless
|
||
improvements and bug fixes, see:
|
||
http://psqlodbc.projects.postgresql.org/release.html or
|
||
/usr/share/doc/packages/psqlODBC/release.html
|
||
|
||
-------------------------------------------------------------------
|
||
Mon Jul 30 16:08:23 CEST 2007 - max@suse.de
|
||
|
||
- New version: 08.02.0400. Changes include:
|
||
* Ditinguish the indicaitor and the octet_length field of APD
|
||
clearly.
|
||
* Handle @@IDENTITY more generally.
|
||
* Take outer join into account so as to evaluate nullability.
|
||
* Fix a bug about Keyset-driven cursors.
|
||
* Change to use NULL indicator instead of the length buffer in
|
||
SQLFetch.
|
||
* Fix a bug which forgets unnamed plans too early especially when
|
||
handling large objects.
|
||
* Don't treat charcters whose value >= 128 as alphanumeric in case
|
||
of conversion of binary data to bytea.
|
||
* Change ConfigDSN() so that it takes the options in Setup Dialog
|
||
page 1 into account.
|
||
* Simplify the memory management of statements'columns info so as to
|
||
prevent memory leaks or a crash in parse_statement etc.
|
||
* SQLTables("", SQL_ALL_SCHEMAS. "", ..) now returns a list of valid
|
||
schemas.
|
||
* SQLTables("", "", "", SQL_ALL_TABLE_TYPES) now returns a list of
|
||
valid table types.
|
||
* SQLGetInfo SQL_DATABASE_NAME now returns the database name.
|
||
* Treat the tables in information_schema as system tables.
|
||
* Correct the precision of SQL_NUMERIC_STRUCT.
|
||
* Change the default max varchar size from 254 to 255.
|
||
* Reset the fields information properly in case of SQLMoreResults.
|
||
* Implement SQLDescribeParam() also in case of multi-command queries.
|
||
* Handle dollar-quotes more properly.
|
||
* Append DETAIL messages to GetDiag...() messages.
|
||
* Remove WSAStartup() and WSACleanup() from DllMain.
|
||
* Load libpq from the driver's folder.
|
||
* Improve the implemetation of SQLSetPos(.., SQL_ADD/SQL_UPDATE)
|
||
using the 8.2 new feature INSERT/UPDATE .. returning.
|
||
|
||
-------------------------------------------------------------------
|
||
Wed Dec 13 15:34:15 CET 2006 - max@suse.de
|
||
|
||
- Avoid literal string comparison (#228225)
|
||
- New version: 08.02.0200
|
||
- Added support for SSL and Kerberos
|
||
- Reduce compiler warnings on x86_64
|
||
- Many more improvements
|
||
|
||
-------------------------------------------------------------------
|
||
Wed Jan 25 21:40:40 CET 2006 - mls@suse.de
|
||
|
||
- converted neededforbuild to BuildRequires
|
||
|
||
-------------------------------------------------------------------
|
||
Fri Jan 13 16:56:27 CET 2006 - max@suse.de
|
||
|
||
- New version: 08.01.0102
|
||
|
||
-------------------------------------------------------------------
|
||
Mon Jul 4 13:56:38 CEST 2005 - max@suse.de
|
||
|
||
- Re-added -fno-strict-aliasing .
|
||
|
||
-------------------------------------------------------------------
|
||
Fri Jul 1 14:23:04 CEST 2005 - max@suse.de
|
||
|
||
- New version: 08.00.0101
|
||
- Building with support for unixODBC.
|
||
|
||
-------------------------------------------------------------------
|
||
Thu Nov 11 12:56:41 CET 2004 - ro@suse.de
|
||
|
||
- fixed file list
|
||
|
||
-------------------------------------------------------------------
|
||
Tue May 25 16:24:11 CEST 2004 - max@suse.de
|
||
|
||
- Adapted a patch from Debian to fix a buffer overflow in ODBC driver
|
||
(src/interfaces/odbc/): added parameter for target buffer size to
|
||
make_string() to prevent buffer overflows and corrected all calls to
|
||
it (http://bugs.debian.org/247306, SuSE Bugzilla #40714).
|
||
With previous versions it was possible to crash (and possibly
|
||
exploit) e. g. apache if a PHP script connected to a ODBC database
|
||
with very long credential strings (DSN, username, password, etc.).
|
||
|
||
-------------------------------------------------------------------
|
||
Fri Feb 6 12:31:33 CET 2004 - max@suse.de
|
||
|
||
- Added -fno-strict-aliasing to CFLAGS.
|
||
|
||
-------------------------------------------------------------------
|
||
Thu Jan 15 10:55:51 CET 2004 - max@suse.de
|
||
|
||
- New version: 07.03.0200
|
||
|
||
-------------------------------------------------------------------
|
||
Sun Jan 11 10:16:41 CET 2004 - adrian@suse.de
|
||
|
||
- add %run_ldconfig
|
||
|
||
-------------------------------------------------------------------
|
||
Thu Jan 9 11:48:19 CET 2003 - max@suse.de
|
||
|
||
- psqlODBC (formerly postgresql-odbc) becomes a package of it's
|
||
own, because it has been removed from the PostgreSQL
|
||
core distribution and is now a separate project.
|
||
|
||
- New version: 7.2.5.
|