* 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
25 lines
799 B
Diff
25 lines
799 B
Diff
diff -urEbw psqlodbc-12.02.0000/connection.h psqlodbc-12.02.0000.new/connection.h
|
|
--- psqlodbc-12.02.0000/connection.h 2020-05-26 11:25:36.000000000 +0200
|
|
+++ psqlodbc-12.02.0000.new/connection.h 2020-06-04 11:23:11.137604357 +0200
|
|
@@ -11,7 +11,7 @@
|
|
|
|
#include "psqlodbc.h"
|
|
#include <libpq-fe.h>
|
|
-#include "pqexpbuffer.h"
|
|
+#include "internal/pqexpbuffer.h"
|
|
|
|
#include <time.h>
|
|
|
|
diff -urEbw psqlodbc-12.02.0000/statement.h psqlodbc-12.02.0000.new/statement.h
|
|
--- psqlodbc-12.02.0000/statement.h 2020-05-26 11:25:36.000000000 +0200
|
|
+++ psqlodbc-12.02.0000.new/statement.h 2020-06-04 11:23:08.981589595 +0200
|
|
@@ -12,7 +12,7 @@
|
|
#include "psqlodbc.h"
|
|
#include <time.h>
|
|
|
|
-#include "pqexpbuffer.h"
|
|
+#include "internal/pqexpbuffer.h"
|
|
#include "pgtypes.h"
|
|
#include "bind.h"
|
|
#include "descriptor.h"
|