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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
9cb56e0cd09b Remove autoloaded functions at package unload.
i7tiol
parents: 12612
diff changeset
5 ** Fix: remove autoloaded function at package unload.
9cb56e0cd09b Remove autoloaded functions at package unload.
i7tiol
parents: 12612
diff changeset
6
12612
2257648e8ce1 avoid using const_cast, new release 2.3.2
i7tiol
parents: 12564
diff changeset
7 database 2.3.2
2257648e8ce1 avoid using const_cast, new release 2.3.2
i7tiol
parents: 12564
diff changeset
8 --------------
2257648e8ce1 avoid using const_cast, new release 2.3.2
i7tiol
parents: 12564
diff changeset
9
2257648e8ce1 avoid using const_cast, new release 2.3.2
i7tiol
parents: 12564
diff changeset
10 ** Fix a potential source of internal bugs.
2257648e8ce1 avoid using const_cast, new release 2.3.2
i7tiol
parents: 12564
diff changeset
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
b228d1439ee5 Prepared bugfix release 2.3.1.
i7tiol
parents: 12289
diff changeset
15 database 2.3.1
b228d1439ee5 Prepared bugfix release 2.3.1.
i7tiol
parents: 12289
diff changeset
16 --------------
b228d1439ee5 Prepared bugfix release 2.3.1.
i7tiol
parents: 12289
diff changeset
17
b228d1439ee5 Prepared bugfix release 2.3.1.
i7tiol
parents: 12289
diff changeset
18 ** Fix for compilation for mxe-octave.
b228d1439ee5 Prepared bugfix release 2.3.1.
i7tiol
parents: 12289
diff changeset
19
12289
fb40a25237dc Bump version number for release 2.3.0.
i7tiol
parents: 12097
diff changeset
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
6ef2f5b6a9e5 Prepare for release 2.2.0.
i7tiol
parents: 11712
diff changeset
25 database 2.2.0
6ef2f5b6a9e5 Prepare for release 2.2.0.
i7tiol
parents: 11712
diff changeset
26 --------------
6ef2f5b6a9e5 Prepare for release 2.2.0.
i7tiol
parents: 11712
diff changeset
27
11699
dafee4563c36 Return information on column types.
i7tiol
parents: 11697
diff changeset
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
dafee4563c36 Return information on column types.
i7tiol
parents: 11697
diff changeset
30
11712
f4c52c68f744 Added converters for types uuid and xml.
i7tiol
parents: 11710
diff changeset
31 ** Converters for all base types except text search types implemented.
11661
1b4e81051b66 Add converter for timestamp.
i7tiol
parents: 11659
diff changeset
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
0bc8e2131356 Prepare release 2.1.1.
i7tiol
parents: 11499
diff changeset
37 database 2.1.1:
0bc8e2131356 Prepare release 2.1.1.
i7tiol
parents: 11499
diff changeset
38 ---------------
0bc8e2131356 Prepare release 2.1.1.
i7tiol
parents: 11499
diff changeset
39
0bc8e2131356 Prepare release 2.1.1.
i7tiol
parents: 11499
diff changeset
40 ** Account for system-dependence of postgresql include directories.
0bc8e2131356 Prepare release 2.1.1.
i7tiol
parents: 11499
diff changeset
41
0bc8e2131356 Prepare release 2.1.1.
i7tiol
parents: 11499
diff changeset
42 ** Work around problem with sequential addpath in 'pkg build'.
0bc8e2131356 Prepare release 2.1.1.
i7tiol
parents: 11499
diff changeset
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
0b202122e3a8 Update NEWS before release of 2.0.1.
i7tiol
parents: 11434
diff changeset
50 database 2.0.1:
0b202122e3a8 Update NEWS before release of 2.0.1.
i7tiol
parents: 11434
diff changeset
51 ---------------
0b202122e3a8 Update NEWS before release of 2.0.1.
i7tiol
parents: 11434
diff changeset
52
0b202122e3a8 Update NEWS before release of 2.0.1.
i7tiol
parents: 11434
diff changeset
53 ** Bugfix of random crash at initialization time.
0b202122e3a8 Update NEWS before release of 2.0.1.
i7tiol
parents: 11434
diff changeset
54
11434
003b80379019 Modify NEWS before release.
i7tiol
parents: 11431
diff changeset
55 Initial release of new package database 2.0.0:
003b80379019 Modify NEWS before release.
i7tiol
parents: 11431
diff changeset
56 ----------------------------------------------
11394
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
57
11434
003b80379019 Modify NEWS before release.
i7tiol
parents: 11431
diff changeset
58 ** This is a complete replacement of the former database package and
003b80379019 Modify NEWS before release.
i7tiol
parents: 11431
diff changeset
59 is not compatible with previous releases. The current release only
003b80379019 Modify NEWS before release.
i7tiol
parents: 11431
diff changeset
60 supports postgresql.
11394
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
61
11434
003b80379019 Modify NEWS before release.
i7tiol
parents: 11431
diff changeset
62 ** Functions:
11394
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
63
11434
003b80379019 Modify NEWS before release.
i7tiol
parents: 11431
diff changeset
64 pq_connect: connect to a postgresql database,
11394
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
65
11434
003b80379019 Modify NEWS before release.
i7tiol
parents: 11431
diff changeset
66 pq_exec_params: execute an SQL command with optional parameters
003b80379019 Modify NEWS before release.
i7tiol
parents: 11431
diff changeset
67 and return result,
11394
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
68
11434
003b80379019 Modify NEWS before release.
i7tiol
parents: 11431
diff changeset
69 pq_update_types: used if defined types change
003b80379019 Modify NEWS before release.
i7tiol
parents: 11431
diff changeset
70 during connection time,
11394
9aee227e296c Populated new database package with initial postgresql interface.
i7tiol
parents:
diff changeset
71
11434
003b80379019 Modify NEWS before release.
i7tiol
parents: 11431
diff changeset
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
003b80379019 Modify NEWS before release.
i7tiol
parents: 11431
diff changeset
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
003b80379019 Modify NEWS before release.
i7tiol
parents: 11431
diff changeset
76 pq_lo_unlink: delete large object,
003b80379019 Modify NEWS before release.
i7tiol
parents: 11431
diff changeset
77
003b80379019 Modify NEWS before release.
i7tiol
parents: 11431
diff changeset
78 pq_close: disconnect from database.