21 Commits

Author SHA256 Message Date
bedde6f01a - Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/psqlODBC?expand=0&rev=32
2024-02-21 09:13:49 +00:00
57a10d7190 - 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.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/psqlODBC?expand=0&rev=30
2023-10-04 11:27:15 +00:00
4cadb9cb1d 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.

- 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

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/psqlODBC?expand=0&rev=29
2021-06-30 20:49:54 +00:00
f7a0b6b7d3 regular devel package anymore (psqlODBC-internal.patch,
bsc#1166821).

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/psqlODBC?expand=0&rev=28
2021-06-28 15:00:31 +00:00
4f55045910 - 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

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/psqlODBC?expand=0&rev=26
2020-06-04 09:25:20 +00:00
7cc8d869b5 Accepting request 775004 from home:lachs0r:branches:server:database:postgresql
- 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.

OBS-URL: https://build.opensuse.org/request/show/775004
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/psqlODBC?expand=0&rev=24
2020-02-18 08:48:58 +00:00
492dcbb978 Accepting request 705568 from home:jubalh:branches:server:database:postgresql
- 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.

OBS-URL: https://build.opensuse.org/request/show/705568
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/psqlODBC?expand=0&rev=22
2019-05-29 07:31:53 +00:00
8356be9449 - 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).
- Avoid self-obsoletion.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/psqlODBC?expand=0&rev=20
2019-03-13 14:56:25 +00:00
42884bf306 - 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.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/psqlODBC?expand=0&rev=18
2018-05-23 10:17:31 +00:00
c42d314626 - 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().

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/psqlODBC?expand=0&rev=16
2018-04-05 13:06:38 +00:00
48092c2e29 - bsc#1062860 / fate#324501: For adding packaging to SLE15
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/psqlODBC?expand=0&rev=14
2018-02-22 11:42:14 +00:00
c544cd6bc6 Accepting request 578732 from home:jubalh:branches:server:database:postgresql
- 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.

OBS-URL: https://build.opensuse.org/request/show/578732
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/psqlODBC?expand=0&rev=13
2018-02-22 11:35:36 +00:00
64533fabd5 Accepting request 554781 from home:jubalh:branches:server:database:postgresql
- 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.

OBS-URL: https://build.opensuse.org/request/show/554781
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/psqlODBC?expand=0&rev=11
2017-12-11 21:29:03 +00:00
d44266fc82 Accepting request 452981 from home:adamm:branches:server:database:postgresql
- 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

OBS-URL: https://build.opensuse.org/request/show/452981
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/psqlODBC?expand=0&rev=9
2017-01-27 16:56:28 +00:00
Lars Vogdt
c006e2d864 Accepting request 290456 from home:posophe:branches:server:database:postgresql
Update

OBS-URL: https://build.opensuse.org/request/show/290456
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/psqlODBC?expand=0&rev=7
2015-03-27 18:14:27 +00:00
Stephan Kulow
7f1addfa74 Accepting request 173045 from server:database:postgresql
- fix build on openSUSE > 12.3 with new unixODBC (forwarded request 173041 from -miska-)

OBS-URL: https://build.opensuse.org/request/show/173045
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psqlODBC?expand=0&rev=15
2013-04-23 15:29:48 +00:00
OBS User autobuild
ae09efe239 Accepting request 25422 from server:database:postgresql
Copy from server:database:postgresql/psqlODBC based on submit request 25422 from user coolo

OBS-URL: https://build.opensuse.org/request/show/25422
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psqlODBC?expand=0&rev=6
2009-12-04 11:45:09 +00:00
OBS User unknown
43fb9f516f OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psqlODBC?expand=0&rev=4 2008-11-20 15:16:44 +00:00
OBS User unknown
5ead27ebbf OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psqlODBC?expand=0&rev=3 2008-09-13 10:02:53 +00:00
OBS User unknown
894f41e8e1 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psqlODBC?expand=0&rev=2 2007-07-30 19:34:32 +00:00
OBS User unknown
c1f01a3940 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psqlODBC?expand=0&rev=1 2007-01-15 23:33:33 +00:00