An improvement for psqlodbc developpers.You can disable the timeout by turning on this option. Some tools issue issue SQLSetStmtAttr(., SQL_ATTR_QUERY_TIMEOUT,) internally and sometimes it's difficult for users to change the timeout value. Change SC_execute() so that it returns a return code which is notĪffetced by the preceding results.Setting 1 to this option forces the current one by one execution.Īlso turn off use_server_side_prepare option temporarily when batch executuion is possible. The last chunk may contain less than Batch Size elements. 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.Ī new option Batch Size was introduced for such cases.īatch Size: Split an array (of parameters) into chunks of Batch Size to execute statements. Improve execution of parameterized SQL statements with arrays of parameters by sending chunks of SQL statements. ![]() PQTRANS_ACTIVE isn't a transaction status. Ignore PQtransactionStatus PQTRANS_ACTIVE in LIBPQ_update_transaction_status().Sets and resets a notify receiver around PQexecParams() or PQexecPrepared(). Handle notice messages in libpq_bind_and_exec().Add a new *Display Optional Error Message* option.ĭisplay error messages other than primary one.Īlso add documentaition about the option and *Numeric as* option.Improve error reporting about SC_pos_reload_needed().Remove the single table restriction in SC_set_SS_columnkey.Correct the handling of SQL_ROW_ERROR and SQL_ROW_SUCCESS_WITH_INFO.Introduce macros QR_concat(), QR_detach() and QR_next(). Revise the handling of QResultClass list.This would improve the performance of bulk inserts/updates etc. Hold the first and last result for parametrized SQL statements with array of parameters.MSToolsVersion parameter of BuildAll.ps1 and of regress.ps1 are deprecated. Add support for development with VC16(Visual Studio 2019).Remove curr_param_result property of StatementClass and separate parsed result from the exec result. ![]() Fix a compilation error with GCC 10 due to conflicting variable names.There are some cases that the programs fail due to missing library which is actually not needed and AC_CHECK_SIZEOF() returns 0. no-as-needed in Lnux Gnu linker) the programs try to link libraries specified by LIBS variable at run time. On some platforms(with some linker options like These macros compile and run some programs. Call AC_CHECK_SIZEOF() or AC_CHECK_TYPES() macros at earlier stage where LIBS variable isn't set yet.Cope with the case that openssl libraries link msvc runtimes other than libraries which psqlodbc or libpq links.Add support for CONVERT scalar function.Format check for ExtraOptions of setup dialog.Prioritize DISABLE_KEEPALIVE checkbox over the disable_keepalive bit of ExtraOptions.Forget to apply disable_convert_func flag to VARCHAR and LONGVARCHAR.This change fixes the diff of insertreturning-test regression test reported by Patrick Cheung. Let SQLExecute() destroy the old result first.This change fixes the diff of prepare-test regression test reported by Mangold Fabian. Let SQLDescribeCol() use parsed result when the current executed result is NULL.The diff of the result was reported by Patrick Cheung and will be fixed ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |