2 2006-11-01 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
4 *Npgsql/NpgsqlCommand.cs: [#1000765] InvalidCastException for ByteA
5 Parameter when command.Prepare() Thanks Hubert Fongarnand for patch!
7 2006-10-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
9 *Npgsql/NpgsqlCommand.resx,
10 Npgsql/NpgsqlConnection.cs,
11 Npgsql/NpgsqlCommand.cs,
12 Npgsql/NpgsqlState.cs,
13 Npgsql/NpgsqlConnectorPool.cs,
14 Npgsql/NpgsqlCommandBuilder.cs,
15 Npgsql/NpgsqlDataReader.cs,
16 NpgsqlTypes/LargeObjectManager.cs,
17 NpgsqlTypes/NpgsqlDbType.cs,
18 NpgsqlTypes/LargeObject.cs,
19 NpgsqlTypes/NpgsqlTypesHelper.cs,
20 NpgsqlTypes/FastPath.cs: Updated to 1.0 final version.
24 2006-09-06 Kornél Pál <kornelpal@gmail.com>
26 * Test/TestConfiguration.cs: Moved from build/common.
27 * Npgsql/Npgsql_test.dll.sources: Added TestConfiguration.cs.
29 2006-08-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
32 * Npgsql/NpgsqlParameter.cs
33 Npgsql/NpgsqlConnectionString.cs
34 Npgsql/NpgsqlState.resx
35 Npgsql/NpgsqlConnection.cs
36 Npgsql/NpgsqlSchema.cs
37 Npgsql/NpgsqlClosedState.cs
38 Npgsql/NpgsqlCommand.cs
39 Npgsql/NpgsqlConnectorPool.cs
40 Npgsql/NpgsqlConnector.cs
41 Npgsql/NpgsqlTransaction.resx
42 Npgsql/NpgsqlRowDescription.cs
43 Npgsql/NpgsqlCommandBuilder.cs
44 Npgsql/NpgsqlDataReader.cs
45 Npgsql/NpgsqlException.cs
46 Npgsql/NpgsqlMediator.cs
47 Npgsql/NpgsqlReadyState.cs
48 NpgsqlTypes/NpgsqlDbType.cs
49 NpgsqlTypes/NpgsqlTypeConverters.cs
50 NpgsqlTypes/NpgsqlTypesHelper.cs: Updated to RC3 version.
55 2006-04-27 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
57 * Npgsql_test.dll.sources,
59 Npgsql/NpgsqlError.cs,
60 Npgsql/NpgsqlCommandBuilder.resx,
61 Npgsql/NpgsqlConnectedState.cs,
63 Npgsql/NpgsqlTransaction.cs,
64 Npgsql/NpgsqlConnectionString.cs,
65 Npgsql/NpgsqlConnection.cs,
66 Npgsql/NpgsqlClosedState.cs,
67 Npgsql/NpgsqlState.cs,
68 Npgsql/NpgsqlAsciiRow.cs,
69 Npgsql/NpgsqlConnector.cs,
70 Npgsql/NpgsqlParameterCollection.cs,
71 Npgsql/NpgsqlCancelRequest.cs,
72 Npgsql/NpgsqlCommandBuilder.cs,
73 Npgsql/NpgsqlException.cs,
74 Npgsql/NpgsqlMediator.cs,
75 Npgsql/NpgsqlReadyState.cs,
79 NpgsqlTypes/NpgsqlDbType.cs,
80 NpgsqlTypes/NpgsqlTypeConverters.cs,
81 NpgsqlTypes/NpgsqlTypes.cs,
82 NpgsqlTypes/NpgsqlTypesHelper.cs,
83 Makefile: Updated to RC1 version.
86 Thu Feb 23 10:29:13 CET 2006 Paolo Molaro <lupus@ximian.com>
88 * Npgsql/NpgsqlCommand.cs: return count for fetch and move, too,
89 patch from Federico Di Gregorio <fog@initd.org>.
92 2006-01-05 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
94 * PGUtil.cs: [#1000517] ServerVersion operator overload. Fixed. Thanks Otto for heads up.
97 2006-01-01 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
99 * NpgsqlCommand.cs: [#1000497] Dot in parameter name causes exception. Added performance patch for GetClearCommandText() thanks Bryan Mayland.
100 * NpgsqlParameterCollection.cs: Added performance patch for GetClearCommandText() thanks Bryan Mayland.
101 * [#1000454] Getting identifier of an inserted row. Added property LastInsertedOID to NpgsqlCommand. This property only works when using a single insert command and the table was created with oids else it returns 0.
103 2005-12-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
105 * NpgsqlCommand.cs: [#1000500] Fixed problem when parsing parameter names with NpgsqlCommand.Prepare(), [#1000497] Fixed problem with dot in parameter names.
107 2005-12-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
109 * NpgsqlTransaction.cs: [#1000491] Fixed transaction isolation level setting. Thanks Ottó Havasvölgyi for heads up.
110 * NpgsqlTransaction.cs.resx: Removed unused key.
112 2005-12-14 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
120 NpgsqlTypesHelper.cs: [#1000458] Enormous memory increase (and application crash) with large BYTEA parameter. Added binary support. Thanks Hubert FONGARNAND for patch. Improved network performance by removing some Stream.Flush() calls.
123 2005-12-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
126 * NpgsqlClosedState.cs: Added a performance improvement fix. Npgsql now use a buffered stream for all server interactions.
128 2005-12-12 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
130 * Npgsql/NpgsqlCommand.cs: [bugzilla 76961] Fixed problem with ExecuteReader when using SchemaOnly and SingleRow behavior at same time. Thanks Kamil Skalski for feedback.
132 2005-12-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
134 Npgsql/NpgsqlError.cs,
135 Npgsql/NpgsqlParameter.cs,
136 Npgsql/NpgsqlConnectionString.cs,
137 Npgsql/NpgsqlConnection.cs,
138 Npgsql/NpgsqlSchema.cs,
139 Npgsql/NpgsqlClosedState.cs,
140 Npgsql/NpgsqlCommand.cs,
141 Npgsql/NpgsqlState.cs,
142 Npgsql/NpgsqlAsciiRow.cs,
143 Npgsql/NpgsqlConnectorPool.cs,
144 Npgsql/NpgsqlConnector.cs,
145 Npgsql/NpgsqlQuery.cs,
146 Npgsql/NpgsqlRowDescription.cs,
147 Npgsql/NpgsqlCommandBuilder.cs,
148 Npgsql/NpgsqlDataReader.cs,
149 Npgsql/NpgsqlException.cs,
150 Npgsql/NpgsqlMediator.cs,
151 Npgsql/NpgsqlReadyState.cs,
152 Npgsql/NpgsqlEventLog.cs,
153 Npgsql.dll.resources,
154 NpgsqlTypes/NpgsqlTypeConverters.cs,
155 NpgsqlTypes/NpgsqlTypesHelper.cs,
156 Makefile: Updated to 1.0beta1
159 2005-08-27 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
160 * NpgsqlParameter.cs: Applied patch to fix a NullReferenceException when using Design Time support. Thanks Josh Cooley ( jbnpgsql at tuxinthebox dot net ) for patch.
161 * NpgsqlDataReader.cs: Updated ProviderType metadata from NpgsqlDataReader.GetResultsetSchema to be the string for the type rather than the oid. Fixed ColumnSize, NumericPrecision, NumericScale, BaseColumnName, AllowDBNull, and IsAliased. Also integrated patch from (rlp at bamafolks dot com), gborg 751. Thanks Josh Cooley (jbnpgsql at tuxinthebox dot net) for patches!
162 * NpgsqlConnection.cs,
163 NpgsqlSchema.cs: Josh Cooley (jbnpgsql at tuxinthebox dot net) improved Metadata support in Npgsql. Added support for the following collections through NpgsqlConnection.GetSchema() methods: MetaDataCollections, Restrictions, Databases, Tables, Columns, Views and Users. Also added support for restrictions when getting info about these collections.
164 * NpgsqlCommand.cs: Fixed problem with stored procedure command texts which finished with a ";". Npgsql was adding incorrectly a trailing "()" when calling this command text.
166 NpgsqlTypesHelper.cs: Added refcursor parameter support. Now, refcursors can be passed as arguments for functions. Thanks Jon Asher for heads up and tests.
167 * Npgsql.dll.sources: Added helper metadata class. Thanks Josh Cooley (jbnpgsql at tuxinthebox dot net).
168 * NpgsqlDataAdapter: Updated constructor documentation.
169 * NpgsqlConnectorPool: Fixed concurrent problem when using MinPoolSize > 1. Thanks Josh Cooley (jbnpgsql at tuxinthebox dot net) for patch.
170 * NpgsqlParameterCollection.cs: Fixed problems with parameters with "@" prefix. They weren't correctly recognized. Thanks Pejvan Beigui ( pejvan at gmail dot com) for heads up.
171 * NpgsqlCommandBuilder.cs: Updated documentation.
173 2005-08-21 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
175 Npgsql.dll.resources: Removed references to design time support. This is not needed when compiling Npgsql with mono.
177 2005-08-06 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
179 * NpgsqlCommand.cs: Fixed problem when using commandtype.storedprocedure with command texts which have parameters with ' or any other value which needed to be escaped. Now they are properly handled. Thanks Dalibor (dalxxx at email dot com) for heads up and tests.
182 2005-08-05 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
184 * NpgsqlConnection.cs: Fixed documentation about User Id connection string key. Thanks peyn at tlen dot pl for heads up. Fixes gborg 1388
186 2005-07-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
188 * NpgsqlCommand.cs: Fixed problem with query strings with newlines. Regexp used to parse parameters were removing new line bytes creating query strings with errors. Thanks Jaroslaw Kowalski (jaak at jkowalski dot net) for fix.
191 2005-07-19 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
193 * NpgsqlTypes/NpgsqlTypeConverters.cs: Gborg 1370. Fixed problems with Money type when using a culture which doesn't use dot as decimal separator. Also fixed problem where only Decimal types (i.e.: 7.4M) could be used as Money type values. Now Float values can be used too.
195 2005-07-08 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
197 * Npgsql/NpgsqlCommand.cs: Npgsql now can handle functions which return refcursor and setof refcursor. Now, results are returned as NpgsqlDataReader resultsets. There is no need to explicitly call "fetch all ..."
199 2005-07-05 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
201 * NpgsqlTypes/NpgsqlDbType.cs,
202 NpgsqlTypes/NpgsqlTypesHelper.cs,
203 Npgsql/NpgsqlParameter.cs,
204 Npgsql/NpgsqlConnectionString.cs,
205 Npgsql/NpgsqlState.resx,
206 Npgsql/NpgsqlConnection.cs,
207 Npgsql/NpgsqlClosedState.cs,
208 Npgsql/NpgsqlCommand.cs,
209 Npgsql/NpgsqlConnector.cs,
210 Npgsql/NpgsqlParameterCollection.cs,
211 Npgsql/NpgsqlDataReader.cs,
212 Npgsql/NpgsqlException.cs: Updated to Npgsql 0.7beta6 gborg code.
214 2005-02-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
216 * Npgsql/NpgsqlCommand.cs: Fixed a problem when using prepare commands inside a transaction. Portal wasn't being released. We use the unnamed portal now. Thanks Marcin (marcin at floryan dot neostrada dot pl) for the heads up.
218 2005-02-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
220 * NpgsqlTypes/NpgsqlTypesHelper.cs: gborg 1121: Fixed another culture variant representation problem when handling floating numbers. Thanks Sergey (sergey dot p dot k dot no dot spam at gmail dot com) for patch.
221 gborg 1167: Added support for writing null chars in text fields. Now they are escaped with \\0.
222 Thanks Sergey (sergey dot p dot k dot no dot spam at gmail dot com) for patch.
224 2005-02-08 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
226 * NpgsqlTypes/NpgsqlTypesHelper.cs: Fixed float precision rounding. Now all float values are sent with 15 precision scale.
227 * Npgsql/NpgsqlCommand.cs: Fixed problem when setting a new connection and a running transaction existed. Now, the transaction can be removed and later the connection can be replaced. Thanks Mike Griffin (mike.griffin at mygenerationsoftware dot com) for heads up.
229 2005-02-06 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
231 * NpgsqlTypes/NpgsqlTypeConverters.cs: Fixed datetime precision when sending values to backend. It was sending just the first 3 decimal values of time. Now it sends all the 6 digits. Thanks Martin Susil (spam at susil dot net) for heads up.
233 2005-01-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
235 * Npgsql/NpgsqlCommand.cs: Added support for updating output parameters when calling executereader().
236 Thanks Mike Griffin (mike dot griffin at mygenerationsoftware dot com) for heads up.
237 Fixed internal constructor to initialize Parameters collection and timeout.
239 2005-01-27 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
241 * Npgsql/NpgsqlParameter.cs,
242 Npgsql/NpgsqlConnection.cs,
243 Npgsql/NpgsqlCommand.cs,
244 Npgsql/NpgsqlParameterCollection.cs,
245 Makefile: Fixed problem when compiling Npgsql with Mono on windows with cygwin. Thanks Atsushi Enomoto(atsushi at ximian dot com) for heads up and Rafael Teixeira(monoman at gmail dot com) for fix.
247 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
249 * Makefile : quick csc build fix (tested on mcs as well).
251 2005-01-23 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
252 * NpgsqlTypes/NpgsqlTypes.cs,
254 Npgsql/NpgsqlParameter.cs,
255 Npgsql/NpgsqlConnection.cs,
256 Npgsql/NpgsqlCommand.cs,
257 Npgsql/NpgsqlParameterCollection.cs,
258 Makefile: Removed System.Drawing, System.Windows.Forms and System.Design dependency.
259 * NpgsqlTypes/NpgsqlTypesHelper.cs: Added patch for gborg 1121. Thanks regmaster (regmaster at gmx dot li) and torben (torben-spam-npsql at nehmer dot net) for patch.
261 2005-01-21 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
262 * NpgsqlTypes/NpgsqlDbType.cs,
263 NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for Varchar datatype. Removed Internal data type enum. It is not supported yet.
265 Npgsql/PGUtil.resx: (WriteString) Added support for logging what string is being written to database server.
266 * Npgsql/NpgsqlCommand.cs: Added SingleRow behavior support.
267 gborg 1099. Added support for record return type functions. Thanks neri and Michel for heads up and tests.
268 Fixed record function bug when function had many parameters. Thanks Neri (neri at gborg dot postgresql dot org) for heads up.
269 * Npgsql/NpgsqlCommandBuilder.cs,
270 NpgsqlDataAdapter.cs: Applied patch to fix gborg 1095. Thanks Eric van der Gutten (ericvdg at ananzi dot co dot za).
271 * Npgsql/NpgsqlDataReader.cs: Removed type conversions for GetXXX() methods.
275 2004-12-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
276 * Npgsql/NpgsqlCommand.cs: gborg 1099. Added support for record return type functions. Thanks neri and Michel for heads up and tests.
277 * Npgsql/NpgsqlDataReader.cs: Removed type conversions for GetXXX() methods.
278 * Npgsql/NpgsqlCommand.cs: Added IClonable implementation. Also added strong type NpgsqlTransaction property and converted previous interface implementation to implicit interface implementation. Thanks Christopher Gersbo-Møller (cgm at knowledgelab dot sdu dot dk) for heads up.
280 2004-12-19 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
281 * Npgsql/NpgsqlCommand.cs: Fixed gborg 1088 and 1080. Thanks Neri (neri at gborg dot postgresql dot org) for help. Now mapped output parameters are correctly updated regardless their position in Parameters collection.
283 2004-12-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
284 * Npgsql/NpgsqlConnector.cs: Changed name of portal and prepare prefixes to be all lower case in order to not have case problems when deallocating them.
285 * Npgsql/NpgsqlCommand.cs: Fixed gborg 1082. Added support to implicit parameters when calling stored procedures.
287 2004-12-05 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
288 * Npgsql/NpgsqlConnector (IsValid): Clean mediator after get a connection from pool and test it for validity. This fix a bug which some times occured which made available this test resultset to user when it shouldn't.
290 2004-12-07 Raja R Harinath <rharinath@novell.com>
292 * Makefile (CLEAN_FILES): Add $(RESX_RES).
293 ($(the_lib)): Depend on $(OTHER_RES) too.
294 ($(RESX_RES)): Pass argument of RESGEN through
295 PLATFORM_CHANGE_SEPARATOR_CMD.
297 2004-12-05 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
299 * Npgsql/NpgsqlCommand.cs: gborg 971 & 1068: Added support for ParameterDirection.Output and ParameterDirection.InputOutput parameters. Now you can use these types of parameters to get results. Thanks Ivan (ivan-sun1 at mail dot ru) and (teste at aslls dot ss) for heads up.
301 2004-11-26 Raja R Harinath <rharinath@novell.com>
303 * Makefile (OTHER_RES): New. List of .bmp files.
304 (EXTRA_DISTFILES): Distribute them.
306 2004-11-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
308 Updated to 0.7beta3 release.
309 * NpgsqlBind.cs: Minor code cleanup.
310 * NpgsqlClosedState.cs: Code formatting.
311 * NpgsqlCommand.cs: Code cleanup and updating for new Plan and Portal name generation code.
312 * NpgsqlConnection.cs: Fixed contructor log message.
313 * NpgsqlConnectionString.cs: Code formatting.
314 * NpgsqlConnector.cs:
315 ReleasePlansPortals: Added method to release used plans and portals.
316 NextPortalName, NextPlanName: Added methods to handle name generation.
317 * NpgsqlConnectorPool.cs:
318 UngetPooledConnector: Added call to release plans and portals in connector.
319 * NpgsqlError.cs: New constructor which takes ProtocolVersion and String parameters.
320 * NpgsqlQuery.cs: Changed constructor to take an NpgsqlCommand instead of just the command string.
321 * NpgsqlReadyState.cs: Changed code to reflect NpgsqlQuery change.
323 ProcessBackendResponses_Ver_(2,3): Fixed handling of invalid authentication methods. Thanks Magnus Hagander (mha at sollentuna dot net) for the heads up.
324 * NpgsqlState.resx: Fixed resource key typo.
325 * NpgsqlTransaction.cs: Fixed IDisposable pattern implementation of NpgsqlTransaction. Now it doesn't incorrectly raise InvalidOperation exceptions. Thanks Ivan Radovanovic ( rivan at sezampro dot yu ) for heads up.
326 * NpgsqlDbType.cs: Code cleanup.
327 * NpgsqlTypeConverters.cs : Removed method to handle string. String quoting is handled prevously as it depends in the type of query: simple or extended.
328 * NpgsqlTypes.cs: Code cleanup.
329 * NpgsqlTypesHelper.cs:
330 (CreateAndLoadInitialTypesMapping): Removed delegate handler of String types. It's not necessary anymore.
331 (ConvertToBackend): Refactorying. Fixed gborg 1035. Thanks Magnus Hagander (mha at sollentuna dot net) for the heads up.
333 2004-11-25 Raja R Harinath <rharinath@novell.com>
335 * Makefile (EXTRA_DISTFILES): Add Npgsql.dll.resources.
337 2004-11-04 Raja R Harinath <rharinath@novell.com>
339 * Makefile (EXTRA_DISTFILES): Fix for 'make dist'.
341 2004-09-30 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
342 * NpgsqlTypes/FastPath.cs,
343 NpgsqlTypes/FastPathArg.cs,
344 NpgsqlTypes/LargeObject.cs,
345 NpgsqlTypes/LargeObjectManager.cs,
346 Npgsql.dll.sources: Added large object support. Thanks Emiliano Necciari (e dot necciari at blogic dot it) for the patch.
349 2004-09-26 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
351 * Npgsql/NpgsqlDataReader.cs:
352 GetBytes: Added a little fix for proper handling of getbytes with current Npgsql semantics in mind. For while, we just support offset value of 0 as we
353 read all the bytes field value at a time. So there is no copy when offset is not 0.
355 2004-09-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
357 * Npgsql/NpgsqlCommand.cs:
358 GetParseCommandText: Fixed an incorrect patch. Thanks Martin ( martijn at boland dot org) for heads up.
360 2004-09-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
362 * Npgsql/NpgsqlCommand.cs:
363 ReplaceParameterValue: Fixed parameter replace when next byte after parameter name is '\\r'. Thanks Ivan Radovanovic rivan at sezampro dot yu for the fix.
364 GetParseCommandText: Added a workaround to have some queries which are giving parameter type problems. Thanks Martin ( martijn at boland dot org) for bug report.
366 2004-09-23 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
368 * NpgsqlTypes/NpgsqlTypesHelper.cs:
369 ConvertToBackend: Added support for System.Enum types. Now enumerated types can be used correctly as a paramater value. Thanks Martin ( martijn at boland dot org) for the heads up.
371 2004-09-18 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
373 * Npgsql/NpgsqlCommand.cs:
374 GetClearCommandText: Fixed an infinite loop when trying to use a parameter whose name is equals to same type name.
375 i.e.: parameter name :text which would conflict with :text parameter name which was being added in the replacement string.
376 * NpgsqlTypes/NpgsqlTypeConverters.cs:
377 BasicNativeToBackendTypeConverter.ToString: Fixed handling of strings with backslashes. Now they are properly escaped.
379 2004-09-18 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
382 NpgsqlConnector.cs: Improved portal and plan name creation to use an unique number from NpgsqlConnector instead of using an static field in NpgsqlCommand. Thanks Martin ( martijn at boland dot org) for the heads up.
384 2004-09-15 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
385 * Npgsql/NpgsqlRowDescription.cs:
386 FieldIndex: Really added support for case insensitive fields index lookup. Thanks Martin ( martijn at boland dot org)
388 2004-09-14 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
390 * Npgsql/NpgsqlRowDescription.cs:
391 FieldIndex: Added support for case insensitive fields index lookup. Thanks Martin ( martijn at boland dot org)
393 2004-09-12 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
395 * NpgsqlTypes/NpgsqlTypesHelper:
396 VerifyDefaultTypesMap: Added DbType.Byte support. Thanks Martin ( martijn at boland dot org)
399 2004-09-12 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
401 * NpgsqlTypes/NpgsqlTypesHelper:
402 ConvertToBackend: Fixed code to handle null values properly when using extended query mode.
403 Fix bug 955 in gborg.
405 2004-09-11 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
407 * Npgsql/NpgsqlConnection.cs:
408 Dispose: Improved implementation. Also added warning logging for
409 NpgsqlConnection leakings.
410 Close: Fixed code to allow calling many times even when being disposed.
411 * Npgsql/NpgsqlConnection.resx:
412 Added new warning logging message for NpgsqlConnection leakings.
413 * Npgsql/NpgsqlConnector.cs:
414 IsValid: new method to check if Connector is still valid.
415 * Npgsql/NpgsqlConnectorPool.cs:
416 GetPooledConnector: Improved to check validity of Connector.
417 FixPoolCountBecauseOfConnectionDisposeFalse: new method to fix the connection pool count
418 because NpgsqlConnection leaking. This way, uses doesn't run out of connections from pool.
420 2004-09-07 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
422 * NpgsqlException.cs: Added support for deserialization of NpgsqlException.
424 * NpgsqlState.cs: Added missing handling of NoData message.
427 2004-07-02 Raja R Harinath <rharinath@novell.com>
429 * Makefile (OVERRIDE_BARE_TARGETS): Remove.
430 ($(the_lib)): Make dependency explicit.
432 2004-06-28 Raja R Harinath <rharinath@novell.com>
434 * Makefile (%.resources): Use $(RESGEN).
436 2004-06-22 Raja R Harinath <rharinath@novell.com>
438 * Makefile: Use $(PLATFORM_PATH_SEPARATOR) in MONO_PATH.
440 2004-06-21 Raja R Harinath <rharinath@novell.com>
442 * Makefile (LIBRARY_SNK): Sign with Npgsql/Npgsql.snk.
444 2004-06-18 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
445 * Synchronized files with gborg cvs up to release 0.6.
447 2004-05-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
448 * Npgsql/NpgsqlConnection.cs: Added workaround for redhat server versions.
449 It returns 7.3.4-RH as its server version. Thanks Jaroslaw Kowalski
450 (jaak@zd.com.pl) for the patch.
452 2004-05-24 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
453 * Npgsql/NpgsqlConnection.cs: Fixed bug when handling Unicode connections.
455 Thanks stehule@kix.fsv.cvut.cz for the patch.
457 2004-05-23 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
459 * Npgsql/NpgsqlConnection.cs: Fixed bug which prevented Npgsql to
460 connect to cvs built servers which had devel in its version string.
462 2004-05-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
464 Npgsql/NpgsqlCommand.cs,
465 Npgsql/NpgsqlConnection.cs,
466 Npgsql/NpgsqlDataReader.cs,
467 Npgsql/NpgsqlException.cs,
468 Npgsql/NpgsqlTransaction.cs,
469 Npgsql/Design/ConnectionStringEditor.cs,
470 Npgsql/Design/ConnectionStringEditorForm.cs,
471 Npgsql/Design/NpgsqlParameterConverter.cs,
472 Npgsql/Design/NpgsqlParametersEditor.cs,
473 NpgsqlTypes/NpgsqlTypesHelper.cs: Commit log by
474 Glen Parker (glenebob@nwlink.com): Bug #772 ("Using
475 Command and Prepare adds single quotes to strings twice")
476 is fixed :-) It was broken when running on the version 3
477 protocol (extended query support) on PostgreSQL 7.4.
478 Some of the files in Design were formatted with macintosh line
479 terminators. This was screwing up the xmldoc generator in csc,
480 so I reformatted to make it work.
481 I've added some essential xmldoc comments (<summary> tags). Much work
482 remains here, but I wanted to get a few in on common functions and
485 The .build file will now generate the Npgsql.xml file, next to the .dll
486 file. I removed the existing Npgsql.xml from CVS.
488 Thanks Glen Parker for this patch.
491 2004-05-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
494 NpgsqlBackEndKeyData.cs,
497 NpgsqlConnectedState.cs,
499 NpgsqlConnection.resx,
501 NpgsqlConnectorPool.cs,
504 NpgsqlMessageTypes.cs,
505 NpgsqlPasswordPacket.cs,
507 NpgsqlRowDescription.cs,
508 NpgsqlStartupPacket.cs,
511 NpgsqlTypes/NpgsqlTypesHelper.cs : - store protocol version as an enum, keep numbers as protocol specific
512 - split more protocol handlers between version 2 and version 3
513 - split MessageTypes class on ver2/ver3 and add remaining types for ver3 - removed handlers for deprecated protocol message types
514 - store BackendKeyData in its own member on Mediator
515 - Store ParameterStatus objects in a key map on Mediator
516 - Get backend version now from the Mediator if possible
517 - Rewrite parsers for server version and connection string
518 - Store server version numericially (in a new class ServerVersion)
519 - As usual, lots of code cleanup/commenting/etc.
521 Thanks very much Glen Parker (glenebob@nwlink.com) for this patch.
523 2004-05-20 Raja R Harinath <rharinath@novell.com>
525 * Makefile (%.resources): Use INTERNAL_RESGEN.
527 2004-05-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
529 * Npgsql/NpgsqlHashAlgorithm.cs: Changed exception type from Exception t
530 o InvalidOperationException when calling the Hash property and hash value is nul
531 l. Thanks Gonzalo Paniagua Javier <gonzalo@ximian.com> for catching that.
533 2004-05-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
537 NpgsqlClosedState.cs,
539 NpgsqlCommandBuilder.cs,
543 NpgsqlParameterCollection.cs,
545 NpgsqlTransaction.cs: Improved exception handling. Now Npgsql throws mor
546 e meaningful exceptions instead of throw NpgsqlException which are now exclusive
547 ly to sign server errors. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
551 2004-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
554 * Npgsql.dll.resources: all the resources command line options are now
555 in a separate response file.
557 2004-05-04 Jaroslaw Kowalski <jaak@zd.com.pl>
558 * Npgsql/NpgsqlDataReader.cs: Fixed RecordsAffected to properly return -1 after "create table" and similar commands.
560 2004-05-01 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
562 * Npgsql/NpgsqlCommand.cs,
563 Npgsql/NpgsqlConnection.cs,
564 Npgsql/NpgsqlConnector.cs,
565 Npgsql/NpgsqlConnectorPool.cs,
566 Npgsql/NpgsqlError.cs,
567 Npgsql/NpgsqlException.cs,
568 Npgsql/NpgsqlParameterCollection.cs,
569 NpgsqlTypes/NpgsqlTypesHelper.cs: Improved exception support. Now NpgsqlException as well as NpgsqlError provide much more information. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
571 2004-04-30 Todd Berman <tberman@sevenl.net>
573 * Npgsql/AssemblyInfo.cs: use the proper path to the .pub file
575 2004-04-30 Duncan Mak <duncan@ximian.com>
577 * Npgsql/AssemblyInfo.cs: Enable delay signing, using Npgsql.pub.
579 * Npgsql/Npgsql.pub: Added to CVS.
581 2004-04-21 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
582 * Npgsql/NpgsqlDataAdapter.cs: Changed RowUpdated and RowUpdating prefix to Npgsql.
583 * Npgsql/NpgsqlClosedState.cs: Removed dependency in TlsException. Carlos Guzman will change this excpetion to internal.
585 * Npgsql/NpgsqlCommand.cs
586 * Npgsql/NpgsqlCommand.resx
587 * Npgsql/NpgsqlConnection.cs
588 * Npgsql/NpgsqlConnection.resx
589 * Npgsql/NpgsqlDataAdapter.cs
590 * Npgsql/NpgsqlError.cs
591 * Npgsql/NpgsqlException.cs
592 * Npgsql/NpgsqlException.resx
593 * Npgsql/NpgsqlMediator.cs
594 * Npgsql/NpgsqlState.cs
595 * Npgsql/NpgsqlState.resx
596 * Npgsql/PGUtil.cs : Added initial error handling code improvements. Thanks Glen Parker (glenebob@nwlink.com) for the patch. NpgsqlException now gives aceess to error collection through the Errors property. This property return a collection of NpgsqlErrors objects. Also it gives access to error message, hint, severity and code. This fixes the feature request 689 in gborg.
600 2004-04-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
601 * Npgsql/NpgsqlDataAdapter.cs: Fixed DataAdapter to raise the RowUpdating and RowUpdated events. This also fixes some issues in gborg 710 bug. This modification may have broken CommandBuilder support. Working on that.
603 2004-03-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
604 * Npgsql/NpgsqlTransaction.cs: Fixed a bug where rollback was being called when disposing NpgsqlTransaction objects even when transaction was sucessfully commited. Fixes bug 725 in gborg. Thanks melkor (melkor@adinet.com.uy) for spotting that.
606 2004-03-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
607 * Npgsql/NpgsqlConnection.cs: Implemented IClonable interface in NpgsqlConnection class. Thanks Juliano Barbosa for pointing it out.
609 2004-03-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
610 * Npgsql/NpgsqlAsciiRow.cs
611 * Npgsql/NpgsqlBinaryRow.cs
612 * Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
615 2004-03-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
617 * Npgsql/NpgsqlConnection.cs:
618 * Npgsql/NpgsqlClosedState.cs: Added support for SSL callbacks points. Now, client applications can provide the callbacks. Npgsql provide a default callback implementation which always assumes the certificate is ok. This allows easy use as client don't need to provide callback to use ssl connections. This also fixes bug 705 in gborg.
619 * NpgsqlTypes/NpgsqlTypesHelper: Applied patch to correctly parse datetimes values with timezone information. Thanks Glen Parker <glenebob@nwlink.com> for the patch.
622 2004-03-06 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
624 * Npgsql/NpgsqlConnectorPool.cs: Fixed bug 706 in gborg. Now Max timeout will be working correctly. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
626 2004-02-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
627 * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding. Added support for encoding and connection timeout in connection string.
628 * Npgsql/NpgsqlConnectorPool.cs: Added support for timeout and max connection pool.
630 2004-02-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
632 * Npgsql/NpgsqlConnector.cs: Added support for connection encoding.
633 * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding.
634 * Npgsql/NpgsqlCommand.cs: Fixed an Invalid Index error when executing ExecuteScalar() method with an empty resultset. Thanks Lynn A. Roth for the fix. This fixes bug 687 in gborg.
637 2004-02-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
639 * Npgsql/NpgsqlDataReader.cs: Fixed a OutOfBoundsException when trying to access an element after have read all elements. Now it throws an InvalidOperationException.
641 * Npgsql/NpgsqlConnection.cs: Fixed Unicode handling. This also fixes bug 695 in gborg. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
644 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
646 * Npgsql/NpgsqlDataReader.cs: Removed a log line which reduced the conne
647 ction startup time in 300 milliseconds.
649 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
651 * NpgsqlConnection.cs: Added support for Unicode encoding. Fixes feature
652 request 534 on gborg. Thanks Ivar <ivar@lumisoft.ee> for pointing it out.
654 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
656 * Npgsql/NpgsqlStartupPacket.cs: Added code to set datestyle to iso when
657 connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for pointing it out.
659 2004-02-14 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
661 * Npgsql/NpgsqlCommand.cs: Fixed a bug when handling queries which return no data. Thanks Morten Mertner <morten@mertner.com> for the fix.
663 2004-02-10 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
665 * NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for datetime and time datatypes with timezone data. Thanks Sami Kuhmonen (sami@iqs.fi).
667 2004-01-15 Jackson Harper <jackson@ximian.com>
669 * NpgslTypes/NpgsqlTypesHelper.cs: Add StringFixedLength type.
671 2003-11-23 Pedro Martínez Juliá <yoros@wanadoo.es>
673 * Npgsql/HashAlgorithm.cs:
674 * Npgsql/NpgsqlClosedState.cs:
675 * Npgsql/NpgsqlCommand.cs:
676 * Npgsql/NpgsqlConnectedState.cs:
677 * Npgsql/NpgsqlConnection.cs:
678 * Npgsql/NpgsqlReadyState.cs:
679 * Npgsql/NpgsqlStartupState.cs:
680 * Npgsql/NpgsqlState.cs: Apply Disposable pattern, when using
681 ADO.NET we need to call Dispose after using any Component like
682 NpgsqlDataAdapter, NpgsqlConnection, etc... Change a few internal
683 methods to Properties.
685 2003-11-22 Pedro Martínez Juliá <yoros@wanadoo.es>
687 * Npgsql/NpgsqlClosedState.cs:
688 * Npgsql/NpgsqlConnectedState.cs:
689 * Npgsql/NpgsqlConnection.cs:
690 * Npgsql/NpgsqlReadyState.cs:
691 * Npgsql/NpgsqlState.cs: Changes related to the last update of SSL
692 implementation. Now we're using TcpClient for the connection and
693 Stream for the abstraction layer to SslClientStream.
695 2003-11-11 Pedro Martínez Juliá <yoros@wanadoo.es>
697 * Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
698 CanRead because the schema can be readed with or without result
701 2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
703 * Npgsql/NpgsqlDataAdapter.cs: Best use "if" instead of try-catch.
705 2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
707 * Npgsql/NpgsqlDataAdapter.cs: Catch the exception thrown by MS.NET
708 when a mapping is not in the collection.
710 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
712 * Npgsql/NpgsqlDataAdapter.cs: Do not assing the result of the
713 CommandBuilder to the local data. Local data should be null if the
714 client doesn't set them.
716 * Npgsql/NpgsqlCommandBuilder.cs: Mistake in param name fixed.
718 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
720 * Makefile: Little fix for build the resources.
722 * Npgsql/NpgsqlCommandBuilder.cs: Added row version in delete
725 2003-11-08 Pedro Martínez Juliá <yoros@wanadoo.es>
727 * Npgsql/NpgsqlCommand.cs: Removed try-catch for Resource Manager
728 calls, the problem is fixed.
730 * Makefile: Fix one bug in the build of resources.
732 2003-11-08 Pedro Martínez Juliá <yoros@wanadoo.es>
734 * Npgsql/NpgsqlCommandBuilder.cs: Added the command builder.
736 * Npgsql/NpgsqlDataAdapter.cs: Added the CommandBuilder stuff. When
737 OnRowUpdating is called we create the command necesary for updating,
738 inserting or deleting any row of the DataTable/DataSet.
740 * Npgsql/NpgsqlCommand.cs: Temporary try-catch. ResMan still doesn't
741 work. This must be removed when ResMan works.
743 * Npgsql/NpgsqlParameter: No more than one call to value.GetType()
744 is more efficient for the deep if structure types.
746 2003-11-07 Pedro Martínez Juliá <yoros@wanadoo.es>
748 * Npgsql/NpgsqlDataAdapter.cs: Fixed the mistake I did in the last
749 change. The Command objects must not be created in the constructor.
750 The Commands should be in the overrided method "OnRowUpdating".
752 * Npgsql/NpgsqlCommand.cs: Added two try-catch instructions to get
753 the proper exception (not MissingManifestResourceException). It is
754 thrown in MS.NET and in MONO. (Npgsql compiled with MCS).
756 2003-11-07 Pedro Martínez Juliá <yoros@wanadoo.es>
758 * Npgsql/NpgsqlDataAdapter.cs: Create new Command classes for the
759 different Insrt / Update / Delete commands.
761 2003-10-20 Pedro Martínez Juliá <yoros@wanadoo.es>
763 * Npgsql/NpgsqlClosedState.cs:
764 * Npgsql/NpgsqlConnection.cs:
765 * Npgsql/NpgsqlConnectedState.cs:
766 * Npgsql/NpgsqlReadyState.cs:
767 * Npgsql/NpgsqlState.cs: Changed the namespace for Tls, now the
768 namespace is Mono.System.Protocol.Tls, before was
771 * Npgsql/Makefile: Change reference from System.Security.Tls to
772 Mono.Security (now Tls lives there).
774 2003-10-16 Pedro Martínez Juliá <yoros@wanadoo.es>
776 * Npgsql/NpgsqlClosedState.cs:
777 * Npgsql/NpgsqlConnectedState.cs:
778 * Npgsql/NpgsqlConnection.cs: Changed TcpClient by TlsSession
779 because now it is used TlsSession and it doesn't work without
782 2003-10-16 Pedro Martínez Juliá <yoros@wanadoo.es>
784 * Makefile: changed reference from Lib/System.Security.Tls.dll to
785 System.Security.Tls because the last will be installed before and
788 * Lib: Removed Lib directory, moved System.Security.Tls.dll to
789 Mono.Security.Tls library directory.
791 2003-10-15 Pedro Martínez Juliá <yoros@wanadoo.es>
793 * Makefile: fix building and the install objectives.
795 2003-04-26 Pedro Martínez Juliá <yoros@wanadoo.es>
797 * Npgsql/NpgsqlDataReader.cs: Change GetFloat and GetDouble. Now
798 they works as direct casting from GetValue.
800 2003-07-18 Peter Williams <peter@newton.cx>
802 * Npgsql/AssemblyInfo.cs: Don't strongname the assembly, because
803 we can't unless corlib is strongnamed too. Not a wonderful solution,
804 but I don't think this ever worked anyway.
806 2003-05-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
807 * Npgsql/NpgsqlDataReader.cs: Fixed an invalid index exception when
808 processing 0 rows queries.
810 2003-04-26 Pedro Martínez Juliá <yoros@wanadoo.es>
812 * Npgsql/NpgsqlDataReader.cs: Now GetDateTime works for "dd/MM/yyyy"
813 date formats. I think that it's needed support to auto-detect
814 DateTime format through PgSql server configuration.
816 2003-01-28 Daniel Morgan <danmorg@sc.rr.com>
818 * Npgsql.build: got it to work for Windows build
820 * Npgsql/Npgsql.build
822 * Npgsql/Npgsql.prjx: removed files not needed
824 2003-01-28 Daniel Morgan <danmorg@sc.rr.com>
826 * added the Npgsql (Npgsql is a .Net Data Provider for PostgreSQL)
827 from http://gborg.postgresql.org/project/npgsql/projdisplay.php
828 by adding the following files and directories to the mcs module
829 in mono-cvs.ximian.com at mcs/class:
842 Npgsql/Npgsql (directory)
843 Npgsql/AssemblyInfo.cs
844 Npgsql/NpgsqlAsciiRow.cs
845 Npgsql/NpgsqlBackEndKeyData.cs
846 Npgsql/NpgsqlClosedState.cs
847 Npgsql/NpgsqlCommand.cs
848 Npgsql/NpgsqlConnectedState.cs
849 Npgsql/NpgsqlConnection.cs
850 Npgsql/NpgsqlConnector.cs
851 Npgsql/NpgsqlConnectorPool.cs
852 Npgsql/NpgsqlDataAdapter.cs
853 Npgsql/NpgsqlDataReader.cs
854 Npgsql/NpgsqlEventLog.cs
855 Npgsql/NpgsqlException.cs
856 Npgsql/NpgsqlMediator.cs
857 Npgsql/NpgsqlMessageTypes.cs
858 Npgsql/NpgsqlParameter.cs
859 Npgsql/NpgsqlParameterCollection.cs
860 Npgsql/NpgsqlPasswordPacket.cs
861 Npgsql/NpgsqlQuery.cs
862 Npgsql/NpgsqlReadyState.cs
863 Npgsql/NpgsqlResultSet.cs
864 Npgsql/NpgsqlRowDescription.cs
865 Npgsql/NpgsqlStartupPacket.cs
866 Npgsql/NpgsqlStartupState.cs
867 Npgsql/NpgsqlState.cs
868 Npgsql/NpgsqlTransaction.cs