root / HISTORY @ 9ae14ada559e25a28c7c145965e5fa0cfd89878e

View | Annotate | Download (6.5 KB)

1
$Id: HISTORY,v 1.10 2004/10/07 03:35:11 wwg Exp $
2
3
4
Marcelo C. de Freitas
5
marcelo@kow.com.br
6
7
Warren W. Gay VE3WWG
8
ve3wwg@cogeco.ca
9
10
11
APQ REVISION HISTORY:
12
=====================
13
14
15
16
17
APQ 3.0
18
  - Project maintainer is Marcelo C. de Freitas now.
19
  - Modular design, which allows compilation of independent parts.
20
  - Code clean up.
21
  - APQ_Boolean is now always treated as INTEGER ( 0 = FALSE, 1 = TRUE )
22
  - FreeTDS compatibility
23
  - A more generic ct_lib support (works for SQL Server and should for Sybase too)
24
  - Error messages has been organized.
25
26
27
APQ 2.2
28
  - Added Sybase support.
29
  - Exceptions provide informative messages
30
  - Documented Set_Port for UNIX (local) connections
31
  - Begin_Work, Commit_Work, Rollback_Work now implicitly
32
    call Clear on the Query_Type object, before and after.
33
  - Set_DB_Name when called when connected, now
34
    changes the currently used database.   
35
  - Instance and Set_Instance primitives for databases like
36
    Sybase, that choose parameter sets.
37
  - Case policy support for universal SQL code.
38
  - Value function returning string now always trims
39
    trailing blanks.
40
  - Sybase Support Introduces:
41
      - Cursor support is now included in APQ for databases
42
        capable of supporting it in the client library (Sybase)
43
  - PostgresSQL changes:
44
      - Defaults to Set_Port(C,5432)
45
  - MySQL changes:
46
      - Now raises Use_Error if database selection fails
47
        (used to raise Failed).
48
      - Bug fix for Reset of connection.
49
      - Fixed MySQL support of BIT type
50
      - Accomodated MySQL date format change
51
52
APQ 2.1
53
  - This was the win32 port. A number of changes
54
    were made to the build scripts to make this
55
    possible.
56
  - Now under UNIX/Linux and Win32, it is no
57
    longer to specify linker library arguments,
58
    such as -lapq -lpq etc. This is now handled
59
    by the GNAT pragma Linker_Options() directive.
60
  - win32_test.adb program was added. This also
61
    happens to work fine under UNIX/Linux, but
62
    was created as a simple test for win32.
63
64
APQ 2.0
65
  - This was an extensive release and included many
66
    changes. The primary change was to include the
67
    support for the MySQL database in addition to
68
    PostgreSQL. Now APQ is structured so that one or
69
    the other, or both may be supported depending
70
    upon the user's own situation. For example, it
71
    is now possible to build APQ for MySQL only
72
    support.
73
74
  - Generic database support is now available.
75
    Through careful use of the APQ top level package
76
    and functions, it is now possible to write
77
    database code that does not care which database
78
    engine is being used. See the chapter "Generic
79
    Database Programming" in the APQ manual for more
80
    about this.
81
82
  - Many other smaller changes were made that are
83
    documented in the manual. One major change was
84
    the renaming of types from PG_Boolean to
85
    APQ_Boolean (for example). Also PG_Oid has now
86
    been renamed Row_ID_Type. Package APQ.PostgreSQL
87
    still maintains subtype definitions of the
88
    original type names, but the application
89
    designer is encouraged to change to the new
90
    names as soon as practical. The support for the
91
    PG_ names will be dropped in a future release.
92
93
APQ 1.93
94
  - Changed the package hierarchy to place all 
95
    PostgreSQL packages under the new top level
96
    package APQ. This is to pave the way for 
97
    future support of other databases, such as
98
    MySQL.
99
100
APQ 1.92
101
  - Fixed bug for floating point and fixed point types
102
    (was rounding the value to the nearest integer,
103
    due to the fact that the Ada.Text_IO.Float_IO.Put
104
    call was receiving the argument Aft => 0).
105
    Omitting the Aft parameter causes the value to be
106
    formatted as required for the SQL floating/fixed
107
    point type. The bug was reported by Charles Darcy
108
    <charlie@mullum.com.au>.
109
110
APQ 1.91
111
--------
112
  - Connect now issues a SET DATESTYLE TO ISO command
113
    automatically to assure override of the PGDATESTYLE
114
    environment variable, that may choose a different
115
    format. APQ applications must however use ISO
116
    date formats in order for the APQ date support
117
    to function correctly.
118
119
  - ADA_INCLUDE_PATH=. ADA_OBJECTS_PATH=. is now
120
    in the make file prior to gnatmake to cause the
121
    build to ignore any possible prior installed
122
    version of APQ.
123
124
  - Added ./win32 subdirectory, to allow building APQ
125
    in a win32 environment.
126
127
APQ 1.9
128
-------
129
  - Fixes a compile error that occurs with the newer
130
    versions of gcc like gcc (GCC) 3.1.1, and probably
131
    > gnat 3.12 versions of GNAT.  The problem occurs
132
    when Ada.Text_IO.Integer_IO is instantiated within
133
    functions/procedures with the same name (like INTIO),
134
    provoking duplicate symbol errors in the assembler.
135
    A work-around has been provided by giving the
136
    instantiations unique names.
137
138
APQ 1.8
139
-------
140
  - Added info functions Host_Name, Port, User,
141
    Password, and Options for database connections.
142
  - Added a new Connect primitive to allow cloning
143
    an existing connection.
144
145
APQ 1.7
146
-------
147
  - Added Open_DB_Trace and Close_DB_Trace procedures
148
    4 levels of trace :
149
    - Trace_None
150
    - Trace_libpq (libpq trace information only)
151
    - Trace_APQ   (SQL query trace information only)
152
    - Trace_Full  (both Trace_libpq and Trace_APQ)
153
  - Trace_APQ output can be fed to psql as straight
154
    SQL for testing purposes
155
156
APQ 1.6
157
-------
158
  - Added Set_Rollback_On_Finalize control primitive to
159
    the Connection_Type object.
160
  - Added Will_Rollback_On_Finalize query primitive to
161
    the Connection_Type object.
162
  - Expanded troubleshooting chapter about transactions
163
    when programs terminate.
164
165
APQ 1.5
166
-------
167
  - Fixed Append_Date, Append_Time, and Append_Timestamp
168
    to put surrounding quotes (') around the value.
169
  - Added troubleshooting info about failed time values.
170
171
APQ 1.4
172
-------
173
  - Added Generic_Command_Oid for strong type use of PG_Oid
174
  - Added Generic_Blob_Open for strong type use of PG_Oid
175
  - Added Generic_Blob_Oid for strong type use of PG_Oid
176
  - Added Generic_Blob_Unlink for strong type use of PG_Oid
177
  - Added Generic_Blob_Import for strong type use of PG_Oid
178
  - Added Generic_Blob_Export for strong type use of PG_Oid
179
180
APQ 1.3
181
-------
182
  - Removed two debugging Put_Line calls that should not have
183
    been part of the final release.
184
  - Added a few pragma Inline statements to the spec.
185
186
APQ 1.2
187
-------
188
  - Buffered I/O for blobs giving a major performance boost
189
  - Blob_Flush procedure added
190
  - End_of_Blob function added
191
  - Fixed error recovery in Blob_Create
192
  - Manual enhancements, including expanded troubleshooting section.
193
194
$Source: /cvsroot/apq/apq/HISTORY,v $