Mercurial > forge
annotate main/database/NEWS @ 12718:1af86934c14e octave-forge
Make compatible with Octaves new exception-based error handling.
Retain compatibility with Octaves old error handling based on
error_state.
* src/error_helpers.[h,cc]: Added.
* src/Makefile.in: Integrate error-helpers.[h,cc].
* src/config.h.in: Added.
* configure.ac, src/config.h.in: Test presence of 'error_state' and
presence of 'verror (octave_execution_exception&, const char *,
va_list)'.
* src/__pq_connect__.cc, src/command.cc, src/command.h,
src/converters.cc, src/converters_arr_comp.cc, src/pq_connection.cc,
src/pq_conninfo.cc, src/pq_exec.cc, src/pq_lo.cc,
src/pq_update_types.cc: If necessary, include error-helpers.h, replace
error() with c_verror(), set and check a different error indicator
than error_state, use CHECK_ERROR or SET_ERR, explicitely check for
errors instead of relying on Octave checking error_state when
returning to the prompt.
author | i7tiol |
---|---|
date | Sat, 27 Feb 2016 11:11:04 +0000 |
parents | 9cb56e0cd09b |
children |
rev | line source |
---|---|
12718
1af86934c14e
Make compatible with Octaves new exception-based error handling.
i7tiol
parents:
12613
diff
changeset
|
1 ** Compatible with Octaves new exception-based error |
1af86934c14e
Make compatible with Octaves new exception-based error handling.
i7tiol
parents:
12613
diff
changeset
|
2 handling. Compatibility with old error handling up to Octave-4.0 |
1af86934c14e
Make compatible with Octaves new exception-based error handling.
i7tiol
parents:
12613
diff
changeset
|
3 is retained. |
1af86934c14e
Make compatible with Octaves new exception-based error handling.
i7tiol
parents:
12613
diff
changeset
|
4 |
12613 | 5 ** Fix: remove autoloaded function at package unload. |
6 | |
12612 | 7 database 2.3.2 |
8 -------------- | |
9 | |
10 ** Fix a potential source of internal bugs. | |
11 | |
12564
c73c23bbe9ce
Check postgresql version at configure time. Fixes bug #44345.
i7tiol
parents:
12558
diff
changeset
|
12 ** Incompatible versions of postgresql (< 8.3) are rejected at |
c73c23bbe9ce
Check postgresql version at configure time. Fixes bug #44345.
i7tiol
parents:
12558
diff
changeset
|
13 configure time. |
c73c23bbe9ce
Check postgresql version at configure time. Fixes bug #44345.
i7tiol
parents:
12558
diff
changeset
|
14 |
12558 | 15 database 2.3.1 |
16 -------------- | |
17 | |
18 ** Fix for compilation for mxe-octave. | |
19 | |
12289 | 20 database 2.3.0 |
12097
b9544a96bc8d
support viewing large objects with viewers needing a temporary file
i7tiol
parents:
11716
diff
changeset
|
21 -------------- |
b9544a96bc8d
support viewing large objects with viewers needing a temporary file
i7tiol
parents:
11716
diff
changeset
|
22 |
b9544a96bc8d
support viewing large objects with viewers needing a temporary file
i7tiol
parents:
11716
diff
changeset
|
23 ** New function pq_lo_view. |
b9544a96bc8d
support viewing large objects with viewers needing a temporary file
i7tiol
parents:
11716
diff
changeset
|
24 |
11716 | 25 database 2.2.0 |
26 -------------- | |
27 | |
11699 | 28 ** pq_exec_params: For queries, information on postgresql data types |
11706
95b91d8c9ee2
Make returned type information recursive over composite type elements.
i7tiol
parents:
11699
diff
changeset
|
29 of columns is also returned. |
11699 | 30 |
11712 | 31 ** Converters for all base types except text search types implemented. |
11661 | 32 |
11659
7575dc1c0b06
Obtain connection information 'integer_datetimes'.
i7tiol
parents:
11644
diff
changeset
|
33 ** New function pq_conninfo. |
7575dc1c0b06
Obtain connection information 'integer_datetimes'.
i7tiol
parents:
11644
diff
changeset
|
34 |
11644
eb48ca3b21a1
Fix #include <endian.h> for Apple, reported by Kamil Badyla.
i7tiol
parents:
11565
diff
changeset
|
35 ** Fix for includes on Apple. |
eb48ca3b21a1
Fix #include <endian.h> for Apple, reported by Kamil Badyla.
i7tiol
parents:
11565
diff
changeset
|
36 |
11565 | 37 database 2.1.1: |
38 --------------- | |
39 | |
40 ** Account for system-dependence of postgresql include directories. | |
41 | |
42 ** Work around problem with sequential addpath in 'pkg build'. | |
43 | |
11499
1176424db5df
Finished copy in from Octave variable. Removed preparations for copy out to variable. New release.
i7tiol
parents:
11461
diff
changeset
|
44 database 2.1.0: |
1176424db5df
Finished copy in from Octave variable. Removed preparations for copy out to variable. New release.
i7tiol
parents:
11461
diff
changeset
|
45 --------------- |
1176424db5df
Finished copy in from Octave variable. Removed preparations for copy out to variable. New release.
i7tiol
parents:
11461
diff
changeset
|
46 |
1176424db5df
Finished copy in from Octave variable. Removed preparations for copy out to variable. New release.
i7tiol
parents:
11461
diff
changeset
|
47 ** pq_exec_params: An Octave cell-array can be used as data for 'copy |
1176424db5df
Finished copy in from Octave variable. Removed preparations for copy out to variable. New release.
i7tiol
parents:
11461
diff
changeset
|
48 from stdin'. |
1176424db5df
Finished copy in from Octave variable. Removed preparations for copy out to variable. New release.
i7tiol
parents:
11461
diff
changeset
|
49 |
11461 | 50 database 2.0.1: |
51 --------------- | |
52 | |
53 ** Bugfix of random crash at initialization time. | |
54 | |
11434 | 55 Initial release of new package database 2.0.0: |
56 ---------------------------------------------- | |
11394
9aee227e296c
Populated new database package with initial postgresql interface.
i7tiol
parents:
diff
changeset
|
57 |
11434 | 58 ** This is a complete replacement of the former database package and |
59 is not compatible with previous releases. The current release only | |
60 supports postgresql. | |
11394
9aee227e296c
Populated new database package with initial postgresql interface.
i7tiol
parents:
diff
changeset
|
61 |
11434 | 62 ** Functions: |
11394
9aee227e296c
Populated new database package with initial postgresql interface.
i7tiol
parents:
diff
changeset
|
63 |
11434 | 64 pq_connect: connect to a postgresql database, |
11394
9aee227e296c
Populated new database package with initial postgresql interface.
i7tiol
parents:
diff
changeset
|
65 |
11434 | 66 pq_exec_params: execute an SQL command with optional parameters |
67 and return result, | |
11394
9aee227e296c
Populated new database package with initial postgresql interface.
i7tiol
parents:
diff
changeset
|
68 |
11434 | 69 pq_update_types: used if defined types change |
70 during connection time, | |
11394
9aee227e296c
Populated new database package with initial postgresql interface.
i7tiol
parents:
diff
changeset
|
71 |
11434 | 72 pq_lo_import: import large object from client side, |
11394
9aee227e296c
Populated new database package with initial postgresql interface.
i7tiol
parents:
diff
changeset
|
73 |
11434 | 74 pq_lo_export: export large object to client side, |
11394
9aee227e296c
Populated new database package with initial postgresql interface.
i7tiol
parents:
diff
changeset
|
75 |
11434 | 76 pq_lo_unlink: delete large object, |
77 | |
78 pq_close: disconnect from database. |