mirror of
https://github.com/postgres/postgres.git
synced 2026-02-28 04:10:35 -05:00
+ Thu Apr 23 09:27:16 CEST 1998 + + - Also allow call in whenever statement with the same functionality + as do. + + Thu Apr 23 12:29:28 CEST 1998 + + - Also rewrote variable declaration part. It is now possible to + declare more than one variable per line. + - Set version to 2.1.0 + + Fri Apr 24 13:50:15 CEST 1998 + + - Fixed some bugs. + - Set version to 2.1.1
58 lines
2 KiB
Text
58 lines
2 KiB
Text
This list is still from Linus. MM
|
|
|
|
The variables should be static.
|
|
|
|
There should be different error numbers for the different errors instead of
|
|
just -1 for them all.
|
|
|
|
Missing library functions to_date et al.
|
|
|
|
Oracle has array operations that enhances speed. When implementing it in
|
|
ecpg it is done for compatibility reasons only. For them to improve speed
|
|
would require a lot more insight in the postgres internal mechanisms than I
|
|
possess.
|
|
|
|
As well as complex types like records and arrays, typedefs would be a good
|
|
thing to take care of.
|
|
|
|
To set up a database you need a few scripts with table definitions and other
|
|
configuration parameters. If you have these scripts for an old database you
|
|
would like to just apply them to get a postgres database that works in the
|
|
same way. The functionality could be accomplished with some conversion
|
|
scripts. Speed will never be accomplished in this way. To do this you need a
|
|
bigger insight in the database construction and the use of the database than
|
|
could be realised in a script.
|
|
|
|
Now comes my list (MM):
|
|
|
|
The return code is alway -1 in case of an error. You cannot see which error
|
|
occured by examining the return code.
|
|
|
|
ecpg does not understand enum datatypes.
|
|
|
|
There is no exec sql prepare statement.
|
|
|
|
The complete structure definition has to be listed inside the declare
|
|
section for ecpg to be able to understand it.
|
|
|
|
There is no way yet to fill a complete array with one call except arrays of
|
|
[unsigned] char which are considered strings.
|
|
|
|
ecpg cannot use pointer variables except [unsigned] char *
|
|
|
|
give back the number of tuples affected via sqlca
|
|
|
|
exec sql disconnect {current|default|all|connectionname|connection_hostvar};
|
|
oder <disconnect statement> ::=
|
|
DISCONNECT <disconnect object>
|
|
|
|
<disconnect object> ::=
|
|
<connection object>
|
|
| ALL
|
|
| CURRENT
|
|
commit release|commit work release auch disconnect
|
|
|
|
It is not neccessary to check for "not found" after all commands.
|
|
|
|
It would be nice to be able to specify parts of a structure like :foo.bar or
|
|
:foo->bar.
|