|
1 |
| -This list is still from Linus. MM |
2 |
| - |
3 |
| -The variables should be static. |
4 |
| - |
5 |
| -There should be different error numbers for the different errors instead of |
6 |
| -just -1 for them all. |
7 |
| - |
8 |
| -Missing library functions to_date et al. |
9 |
| - |
10 |
| -Oracle has array operations that enhances speed. When implementing it in |
11 |
| -ecpg it is done for compatibility reasons only. For them to improve speed |
12 |
| -would require a lot more insight in the postgres internal mechanisms than I |
13 |
| -possess. |
14 |
| - |
15 |
| -As well as complex types like records and arrays, typedefs would be a good |
16 |
| -thing to take care of. |
17 |
| - |
18 |
| -To set up a database you need a few scripts with table definitions and other |
19 |
| -configuration parameters. If you have these scripts for an old database you |
20 |
| -would like to just apply them to get a postgres database that works in the |
21 |
| -same way. The functionality could be accomplished with some conversion |
22 |
| -scripts. Speed will never be accomplished in this way. To do this you need a |
23 |
| -bigger insight in the database construction and the use of the database than |
24 |
| -could be realised in a script. |
25 |
| - |
26 |
| -Now comes my list (MM): |
27 |
| - |
28 |
| -The return code is alway -1 in case of an error. You cannot see which error |
29 |
| -occured by examining the return code. |
30 |
| - |
31 | 1 | ecpg does not understand enum datatypes.
|
32 | 2 |
|
33 |
| -There is no exec sql prepare statement. |
34 |
| - |
35 | 3 | The complete structure definition has to be listed inside the declare
|
36 |
| -section for ecpg to be able to understand it. |
| 4 | +section of the structure variable for ecpg to be able to understand it. |
37 | 5 |
|
38 |
| -There is no way yet to fill a complete array with one call except arrays of |
39 |
| -[unsigned] char which are considered strings. |
| 6 | +Variable type bool has to be checked. I never used it so far. |
40 | 7 |
|
41 | 8 | ecpg cannot use pointer variables except [unsigned] char *
|
42 | 9 |
|
43 |
| -give back the number of tuples affected via sqlca |
| 10 | +There is no exec sql type statement which is the SQL version of a typedef. |
44 | 11 |
|
45 |
| -exec sql disconnect {current|default|all|connectionname|connection_hostvar}; |
46 |
| - oder <disconnect statement> ::= |
47 |
| - DISCONNECT <disconnect object> |
48 |
| - |
49 |
| - <disconnect object> ::= |
50 |
| - <connection object> |
51 |
| - | ALL |
52 |
| - | CURRENT |
53 |
| - commit release|commit work release auch disconnect |
| 12 | +There is no exec sql prepare statement. |
54 | 13 |
|
55 |
| -It is not neccessary to check for "not found" after all commands. |
| 14 | +There is no SQLSTATE |
0 commit comments