1 2008-05-05 Francisco Figueiredo Jr. <francisco@npgsql.org>
3 Fixed problems when notification thread throws exception. Not is
4 correctly thrown. See http://pgfoundry.org/forum/message.php?msg_id=1003387 for discussion about that. Thanks Josh Cooley for patch.
7 2007-11-15 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
8 *Npgsql/NpgsqlCommand.cs: [#1010187] Problem with parsing parameters and "<" or ">" operator with Prepare().
9 [#1010186] Thread safety problem when Parsing command text.
10 Thanks Hubert FONGARNAND for patches!
12 2007-11-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
14 *NpgsqlTypes/NpgsqlTypesHelper.cs: This is a single line patch version for handling Standard conforming strings parameter in postgresql.conf. You only need this version instead of 1.0 is you are using this setting or is planning to use it. Also, starting with 8.4 postgresql version, this parameter will be default to on in postgresql.conf. Today it is off.
15 More info can be obtained on this link: http://pgfoundry.org/tracker/index.php?func=detail&aid=1009624&group_id=1000140&atid=592
16 Thanks Laurenz Albe & Erich Lerch for their patch!
19 2006-11-01 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
21 *Npgsql/NpgsqlCommand.cs: [#1000765] InvalidCastException for ByteA
22 Parameter when command.Prepare() Thanks Hubert Fongarnand for patch!
24 2006-10-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
26 *Npgsql/NpgsqlCommand.resx,
27 Npgsql/NpgsqlConnection.cs,
28 Npgsql/NpgsqlCommand.cs,
29 Npgsql/NpgsqlState.cs,
30 Npgsql/NpgsqlConnectorPool.cs,
31 Npgsql/NpgsqlCommandBuilder.cs,
32 Npgsql/NpgsqlDataReader.cs,
33 NpgsqlTypes/LargeObjectManager.cs,
34 NpgsqlTypes/NpgsqlDbType.cs,
35 NpgsqlTypes/LargeObject.cs,
36 NpgsqlTypes/NpgsqlTypesHelper.cs,
37 NpgsqlTypes/FastPath.cs: Updated to 1.0 final version.
41 2006-09-06 Kornél Pál <kornelpal@gmail.com>
43 * Test/TestConfiguration.cs: Moved from build/common.
44 * Npgsql/Npgsql_test.dll.sources: Added TestConfiguration.cs.
46 2006-08-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
49 * Npgsql/NpgsqlParameter.cs
50 Npgsql/NpgsqlConnectionString.cs
51 Npgsql/NpgsqlState.resx
52 Npgsql/NpgsqlConnection.cs
53 Npgsql/NpgsqlSchema.cs
54 Npgsql/NpgsqlClosedState.cs
55 Npgsql/NpgsqlCommand.cs
56 Npgsql/NpgsqlConnectorPool.cs
57 Npgsql/NpgsqlConnector.cs
58 Npgsql/NpgsqlTransaction.resx
59 Npgsql/NpgsqlRowDescription.cs
60 Npgsql/NpgsqlCommandBuilder.cs
61 Npgsql/NpgsqlDataReader.cs
62 Npgsql/NpgsqlException.cs
63 Npgsql/NpgsqlMediator.cs
64 Npgsql/NpgsqlReadyState.cs
65 NpgsqlTypes/NpgsqlDbType.cs
66 NpgsqlTypes/NpgsqlTypeConverters.cs
67 NpgsqlTypes/NpgsqlTypesHelper.cs: Updated to RC3 version.
72 2006-04-27 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
74 * Npgsql_test.dll.sources,
76 Npgsql/NpgsqlError.cs,
77 Npgsql/NpgsqlCommandBuilder.resx,
78 Npgsql/NpgsqlConnectedState.cs,
80 Npgsql/NpgsqlTransaction.cs,
81 Npgsql/NpgsqlConnectionString.cs,
82 Npgsql/NpgsqlConnection.cs,
83 Npgsql/NpgsqlClosedState.cs,
84 Npgsql/NpgsqlState.cs,
85 Npgsql/NpgsqlAsciiRow.cs,
86 Npgsql/NpgsqlConnector.cs,
87 Npgsql/NpgsqlParameterCollection.cs,
88 Npgsql/NpgsqlCancelRequest.cs,
89 Npgsql/NpgsqlCommandBuilder.cs,
90 Npgsql/NpgsqlException.cs,
91 Npgsql/NpgsqlMediator.cs,
92 Npgsql/NpgsqlReadyState.cs,
96 NpgsqlTypes/NpgsqlDbType.cs,
97 NpgsqlTypes/NpgsqlTypeConverters.cs,
98 NpgsqlTypes/NpgsqlTypes.cs,
99 NpgsqlTypes/NpgsqlTypesHelper.cs,
100 Makefile: Updated to RC1 version.
103 Thu Feb 23 10:29:13 CET 2006 Paolo Molaro <lupus@ximian.com>
105 * Npgsql/NpgsqlCommand.cs: return count for fetch and move, too,
106 patch from Federico Di Gregorio <fog@initd.org>.
109 2006-01-05 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
111 * PGUtil.cs: [#1000517] ServerVersion operator overload. Fixed. Thanks Otto for heads up.
114 2006-01-01 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
116 * NpgsqlCommand.cs: [#1000497] Dot in parameter name causes exception. Added performance patch for GetClearCommandText() thanks Bryan Mayland.
117 * NpgsqlParameterCollection.cs: Added performance patch for GetClearCommandText() thanks Bryan Mayland.
118 * [#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.
120 2005-12-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
122 * NpgsqlCommand.cs: [#1000500] Fixed problem when parsing parameter names with NpgsqlCommand.Prepare(), [#1000497] Fixed problem with dot in parameter names.
124 2005-12-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
126 * NpgsqlTransaction.cs: [#1000491] Fixed transaction isolation level setting. Thanks Ottó Havasvölgyi for heads up.
127 * NpgsqlTransaction.cs.resx: Removed unused key.
129 2005-12-14 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
137 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.
140 2005-12-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
143 * NpgsqlClosedState.cs: Added a performance improvement fix. Npgsql now use a buffered stream for all server interactions.
145 2005-12-12 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
147 * Npgsql/NpgsqlCommand.cs: [bugzilla 76961] Fixed problem with ExecuteReader when using SchemaOnly and SingleRow behavior at same time. Thanks Kamil Skalski for feedback.
149 2005-12-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
151 Npgsql/NpgsqlError.cs,
152 Npgsql/NpgsqlParameter.cs,
153 Npgsql/NpgsqlConnectionString.cs,
154 Npgsql/NpgsqlConnection.cs,
155 Npgsql/NpgsqlSchema.cs,
156 Npgsql/NpgsqlClosedState.cs,
157 Npgsql/NpgsqlCommand.cs,
158 Npgsql/NpgsqlState.cs,
159 Npgsql/NpgsqlAsciiRow.cs,
160 Npgsql/NpgsqlConnectorPool.cs,
161 Npgsql/NpgsqlConnector.cs,
162 Npgsql/NpgsqlQuery.cs,
163 Npgsql/NpgsqlRowDescription.cs,
164 Npgsql/NpgsqlCommandBuilder.cs,
165 Npgsql/NpgsqlDataReader.cs,
166 Npgsql/NpgsqlException.cs,
167 Npgsql/NpgsqlMediator.cs,
168 Npgsql/NpgsqlReadyState.cs,
169 Npgsql/NpgsqlEventLog.cs,
170 Npgsql.dll.resources,
171 NpgsqlTypes/NpgsqlTypeConverters.cs,
172 NpgsqlTypes/NpgsqlTypesHelper.cs,
173 Makefile: Updated to 1.0beta1
176 2005-08-27 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
177 * NpgsqlParameter.cs: Applied patch to fix a NullReferenceException when using Design Time support. Thanks Josh Cooley ( jbnpgsql at tuxinthebox dot net ) for patch.
178 * 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!
179 * NpgsqlConnection.cs,
180 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.
181 * NpgsqlCommand.cs: Fixed problem with stored procedure command texts which finished with a ";". Npgsql was adding incorrectly a trailing "()" when calling this command text.
183 NpgsqlTypesHelper.cs: Added refcursor parameter support. Now, refcursors can be passed as arguments for functions. Thanks Jon Asher for heads up and tests.
184 * Npgsql.dll.sources: Added helper metadata class. Thanks Josh Cooley (jbnpgsql at tuxinthebox dot net).
185 * NpgsqlDataAdapter: Updated constructor documentation.
186 * NpgsqlConnectorPool: Fixed concurrent problem when using MinPoolSize > 1. Thanks Josh Cooley (jbnpgsql at tuxinthebox dot net) for patch.
187 * NpgsqlParameterCollection.cs: Fixed problems with parameters with "@" prefix. They weren't correctly recognized. Thanks Pejvan Beigui ( pejvan at gmail dot com) for heads up.
188 * NpgsqlCommandBuilder.cs: Updated documentation.
190 2005-08-21 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
192 Npgsql.dll.resources: Removed references to design time support. This is not needed when compiling Npgsql with mono.
194 2005-08-06 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
196 * 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.
199 2005-08-05 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
201 * NpgsqlConnection.cs: Fixed documentation about User Id connection string key. Thanks peyn at tlen dot pl for heads up. Fixes gborg 1388
203 2005-07-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
205 * 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.
208 2005-07-19 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
210 * 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.
212 2005-07-08 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
214 * 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 ..."
216 2005-07-05 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
218 * NpgsqlTypes/NpgsqlDbType.cs,
219 NpgsqlTypes/NpgsqlTypesHelper.cs,
220 Npgsql/NpgsqlParameter.cs,
221 Npgsql/NpgsqlConnectionString.cs,
222 Npgsql/NpgsqlState.resx,
223 Npgsql/NpgsqlConnection.cs,
224 Npgsql/NpgsqlClosedState.cs,
225 Npgsql/NpgsqlCommand.cs,
226 Npgsql/NpgsqlConnector.cs,
227 Npgsql/NpgsqlParameterCollection.cs,
228 Npgsql/NpgsqlDataReader.cs,
229 Npgsql/NpgsqlException.cs: Updated to Npgsql 0.7beta6 gborg code.
231 2005-02-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
233 * 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.
235 2005-02-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
237 * 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.
238 gborg 1167: Added support for writing null chars in text fields. Now they are escaped with \\0.
239 Thanks Sergey (sergey dot p dot k dot no dot spam at gmail dot com) for patch.
241 2005-02-08 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
243 * NpgsqlTypes/NpgsqlTypesHelper.cs: Fixed float precision rounding. Now all float values are sent with 15 precision scale.
244 * 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.
246 2005-02-06 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
248 * 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.
250 2005-01-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
252 * Npgsql/NpgsqlCommand.cs: Added support for updating output parameters when calling executereader().
253 Thanks Mike Griffin (mike dot griffin at mygenerationsoftware dot com) for heads up.
254 Fixed internal constructor to initialize Parameters collection and timeout.
256 2005-01-27 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
258 * Npgsql/NpgsqlParameter.cs,
259 Npgsql/NpgsqlConnection.cs,
260 Npgsql/NpgsqlCommand.cs,
261 Npgsql/NpgsqlParameterCollection.cs,
262 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.
264 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
266 * Makefile : quick csc build fix (tested on mcs as well).
268 2005-01-23 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
269 * NpgsqlTypes/NpgsqlTypes.cs,
271 Npgsql/NpgsqlParameter.cs,
272 Npgsql/NpgsqlConnection.cs,
273 Npgsql/NpgsqlCommand.cs,
274 Npgsql/NpgsqlParameterCollection.cs,
275 Makefile: Removed System.Drawing, System.Windows.Forms and System.Design dependency.
276 * 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.
278 2005-01-21 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
279 * NpgsqlTypes/NpgsqlDbType.cs,
280 NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for Varchar datatype. Removed Internal data type enum. It is not supported yet.
282 Npgsql/PGUtil.resx: (WriteString) Added support for logging what string is being written to database server.
283 * Npgsql/NpgsqlCommand.cs: Added SingleRow behavior support.
284 gborg 1099. Added support for record return type functions. Thanks neri and Michel for heads up and tests.
285 Fixed record function bug when function had many parameters. Thanks Neri (neri at gborg dot postgresql dot org) for heads up.
286 * Npgsql/NpgsqlCommandBuilder.cs,
287 NpgsqlDataAdapter.cs: Applied patch to fix gborg 1095. Thanks Eric van der Gutten (ericvdg at ananzi dot co dot za).
288 * Npgsql/NpgsqlDataReader.cs: Removed type conversions for GetXXX() methods.
292 2004-12-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
293 * Npgsql/NpgsqlCommand.cs: gborg 1099. Added support for record return type functions. Thanks neri and Michel for heads up and tests.
294 * Npgsql/NpgsqlDataReader.cs: Removed type conversions for GetXXX() methods.
295 * 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.
297 2004-12-19 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
298 * 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.
300 2004-12-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
301 * 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.
302 * Npgsql/NpgsqlCommand.cs: Fixed gborg 1082. Added support to implicit parameters when calling stored procedures.
304 2004-12-05 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
305 * 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.
307 2004-12-07 Raja R Harinath <rharinath@novell.com>
309 * Makefile (CLEAN_FILES): Add $(RESX_RES).
310 ($(the_lib)): Depend on $(OTHER_RES) too.
311 ($(RESX_RES)): Pass argument of RESGEN through
312 PLATFORM_CHANGE_SEPARATOR_CMD.
314 2004-12-05 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
316 * 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.
318 2004-11-26 Raja R Harinath <rharinath@novell.com>
320 * Makefile (OTHER_RES): New. List of .bmp files.
321 (EXTRA_DISTFILES): Distribute them.
323 2004-11-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
325 Updated to 0.7beta3 release.
326 * NpgsqlBind.cs: Minor code cleanup.
327 * NpgsqlClosedState.cs: Code formatting.
328 * NpgsqlCommand.cs: Code cleanup and updating for new Plan and Portal name generation code.
329 * NpgsqlConnection.cs: Fixed contructor log message.
330 * NpgsqlConnectionString.cs: Code formatting.
331 * NpgsqlConnector.cs:
332 ReleasePlansPortals: Added method to release used plans and portals.
333 NextPortalName, NextPlanName: Added methods to handle name generation.
334 * NpgsqlConnectorPool.cs:
335 UngetPooledConnector: Added call to release plans and portals in connector.
336 * NpgsqlError.cs: New constructor which takes ProtocolVersion and String parameters.
337 * NpgsqlQuery.cs: Changed constructor to take an NpgsqlCommand instead of just the command string.
338 * NpgsqlReadyState.cs: Changed code to reflect NpgsqlQuery change.
340 ProcessBackendResponses_Ver_(2,3): Fixed handling of invalid authentication methods. Thanks Magnus Hagander (mha at sollentuna dot net) for the heads up.
341 * NpgsqlState.resx: Fixed resource key typo.
342 * 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.
343 * NpgsqlDbType.cs: Code cleanup.
344 * NpgsqlTypeConverters.cs : Removed method to handle string. String quoting is handled prevously as it depends in the type of query: simple or extended.
345 * NpgsqlTypes.cs: Code cleanup.
346 * NpgsqlTypesHelper.cs:
347 (CreateAndLoadInitialTypesMapping): Removed delegate handler of String types. It's not necessary anymore.
348 (ConvertToBackend): Refactorying. Fixed gborg 1035. Thanks Magnus Hagander (mha at sollentuna dot net) for the heads up.
350 2004-11-25 Raja R Harinath <rharinath@novell.com>
352 * Makefile (EXTRA_DISTFILES): Add Npgsql.dll.resources.
354 2004-11-04 Raja R Harinath <rharinath@novell.com>
356 * Makefile (EXTRA_DISTFILES): Fix for 'make dist'.
358 2004-09-30 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
359 * NpgsqlTypes/FastPath.cs,
360 NpgsqlTypes/FastPathArg.cs,
361 NpgsqlTypes/LargeObject.cs,
362 NpgsqlTypes/LargeObjectManager.cs,
363 Npgsql.dll.sources: Added large object support. Thanks Emiliano Necciari (e dot necciari at blogic dot it) for the patch.
366 2004-09-26 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
368 * Npgsql/NpgsqlDataReader.cs:
369 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
370 read all the bytes field value at a time. So there is no copy when offset is not 0.
372 2004-09-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
374 * Npgsql/NpgsqlCommand.cs:
375 GetParseCommandText: Fixed an incorrect patch. Thanks Martin ( martijn at boland dot org) for heads up.
377 2004-09-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
379 * Npgsql/NpgsqlCommand.cs:
380 ReplaceParameterValue: Fixed parameter replace when next byte after parameter name is '\\r'. Thanks Ivan Radovanovic rivan at sezampro dot yu for the fix.
381 GetParseCommandText: Added a workaround to have some queries which are giving parameter type problems. Thanks Martin ( martijn at boland dot org) for bug report.
383 2004-09-23 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
385 * NpgsqlTypes/NpgsqlTypesHelper.cs:
386 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.
388 2004-09-18 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
390 * Npgsql/NpgsqlCommand.cs:
391 GetClearCommandText: Fixed an infinite loop when trying to use a parameter whose name is equals to same type name.
392 i.e.: parameter name :text which would conflict with :text parameter name which was being added in the replacement string.
393 * NpgsqlTypes/NpgsqlTypeConverters.cs:
394 BasicNativeToBackendTypeConverter.ToString: Fixed handling of strings with backslashes. Now they are properly escaped.
396 2004-09-18 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
399 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.
401 2004-09-15 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
402 * Npgsql/NpgsqlRowDescription.cs:
403 FieldIndex: Really added support for case insensitive fields index lookup. Thanks Martin ( martijn at boland dot org)
405 2004-09-14 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
407 * Npgsql/NpgsqlRowDescription.cs:
408 FieldIndex: Added support for case insensitive fields index lookup. Thanks Martin ( martijn at boland dot org)
410 2004-09-12 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
412 * NpgsqlTypes/NpgsqlTypesHelper:
413 VerifyDefaultTypesMap: Added DbType.Byte support. Thanks Martin ( martijn at boland dot org)
416 2004-09-12 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
418 * NpgsqlTypes/NpgsqlTypesHelper:
419 ConvertToBackend: Fixed code to handle null values properly when using extended query mode.
420 Fix bug 955 in gborg.
422 2004-09-11 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
424 * Npgsql/NpgsqlConnection.cs:
425 Dispose: Improved implementation. Also added warning logging for
426 NpgsqlConnection leakings.
427 Close: Fixed code to allow calling many times even when being disposed.
428 * Npgsql/NpgsqlConnection.resx:
429 Added new warning logging message for NpgsqlConnection leakings.
430 * Npgsql/NpgsqlConnector.cs:
431 IsValid: new method to check if Connector is still valid.
432 * Npgsql/NpgsqlConnectorPool.cs:
433 GetPooledConnector: Improved to check validity of Connector.
434 FixPoolCountBecauseOfConnectionDisposeFalse: new method to fix the connection pool count
435 because NpgsqlConnection leaking. This way, uses doesn't run out of connections from pool.
437 2004-09-07 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
439 * NpgsqlException.cs: Added support for deserialization of NpgsqlException.
441 * NpgsqlState.cs: Added missing handling of NoData message.
444 2004-07-02 Raja R Harinath <rharinath@novell.com>
446 * Makefile (OVERRIDE_BARE_TARGETS): Remove.
447 ($(the_lib)): Make dependency explicit.
449 2004-06-28 Raja R Harinath <rharinath@novell.com>
451 * Makefile (%.resources): Use $(RESGEN).
453 2004-06-22 Raja R Harinath <rharinath@novell.com>
455 * Makefile: Use $(PLATFORM_PATH_SEPARATOR) in MONO_PATH.
457 2004-06-21 Raja R Harinath <rharinath@novell.com>
459 * Makefile (LIBRARY_SNK): Sign with Npgsql/Npgsql.snk.
461 2004-06-18 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
462 * Synchronized files with gborg cvs up to release 0.6.
464 2004-05-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
465 * Npgsql/NpgsqlConnection.cs: Added workaround for redhat server versions.
466 It returns 7.3.4-RH as its server version. Thanks Jaroslaw Kowalski
467 (jaak@zd.com.pl) for the patch.
469 2004-05-24 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
470 * Npgsql/NpgsqlConnection.cs: Fixed bug when handling Unicode connections.
472 Thanks stehule@kix.fsv.cvut.cz for the patch.
474 2004-05-23 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
476 * Npgsql/NpgsqlConnection.cs: Fixed bug which prevented Npgsql to
477 connect to cvs built servers which had devel in its version string.
479 2004-05-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
481 Npgsql/NpgsqlCommand.cs,
482 Npgsql/NpgsqlConnection.cs,
483 Npgsql/NpgsqlDataReader.cs,
484 Npgsql/NpgsqlException.cs,
485 Npgsql/NpgsqlTransaction.cs,
486 Npgsql/Design/ConnectionStringEditor.cs,
487 Npgsql/Design/ConnectionStringEditorForm.cs,
488 Npgsql/Design/NpgsqlParameterConverter.cs,
489 Npgsql/Design/NpgsqlParametersEditor.cs,
490 NpgsqlTypes/NpgsqlTypesHelper.cs: Commit log by
491 Glen Parker (glenebob@nwlink.com): Bug #772 ("Using
492 Command and Prepare adds single quotes to strings twice")
493 is fixed :-) It was broken when running on the version 3
494 protocol (extended query support) on PostgreSQL 7.4.
495 Some of the files in Design were formatted with macintosh line
496 terminators. This was screwing up the xmldoc generator in csc,
497 so I reformatted to make it work.
498 I've added some essential xmldoc comments (<summary> tags). Much work
499 remains here, but I wanted to get a few in on common functions and
502 The .build file will now generate the Npgsql.xml file, next to the .dll
503 file. I removed the existing Npgsql.xml from CVS.
505 Thanks Glen Parker for this patch.
508 2004-05-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
511 NpgsqlBackEndKeyData.cs,
514 NpgsqlConnectedState.cs,
516 NpgsqlConnection.resx,
518 NpgsqlConnectorPool.cs,
521 NpgsqlMessageTypes.cs,
522 NpgsqlPasswordPacket.cs,
524 NpgsqlRowDescription.cs,
525 NpgsqlStartupPacket.cs,
528 NpgsqlTypes/NpgsqlTypesHelper.cs : - store protocol version as an enum, keep numbers as protocol specific
529 - split more protocol handlers between version 2 and version 3
530 - split MessageTypes class on ver2/ver3 and add remaining types for ver3 - removed handlers for deprecated protocol message types
531 - store BackendKeyData in its own member on Mediator
532 - Store ParameterStatus objects in a key map on Mediator
533 - Get backend version now from the Mediator if possible
534 - Rewrite parsers for server version and connection string
535 - Store server version numericially (in a new class ServerVersion)
536 - As usual, lots of code cleanup/commenting/etc.
538 Thanks very much Glen Parker (glenebob@nwlink.com) for this patch.
540 2004-05-20 Raja R Harinath <rharinath@novell.com>
542 * Makefile (%.resources): Use INTERNAL_RESGEN.
544 2004-05-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
546 * Npgsql/NpgsqlHashAlgorithm.cs: Changed exception type from Exception t
547 o InvalidOperationException when calling the Hash property and hash value is nul
548 l. Thanks Gonzalo Paniagua Javier <gonzalo@ximian.com> for catching that.
550 2004-05-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
554 NpgsqlClosedState.cs,
556 NpgsqlCommandBuilder.cs,
560 NpgsqlParameterCollection.cs,
562 NpgsqlTransaction.cs: Improved exception handling. Now Npgsql throws mor
563 e meaningful exceptions instead of throw NpgsqlException which are now exclusive
564 ly to sign server errors. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
568 2004-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
571 * Npgsql.dll.resources: all the resources command line options are now
572 in a separate response file.
574 2004-05-04 Jaroslaw Kowalski <jaak@zd.com.pl>
575 * Npgsql/NpgsqlDataReader.cs: Fixed RecordsAffected to properly return -1 after "create table" and similar commands.
577 2004-05-01 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
579 * Npgsql/NpgsqlCommand.cs,
580 Npgsql/NpgsqlConnection.cs,
581 Npgsql/NpgsqlConnector.cs,
582 Npgsql/NpgsqlConnectorPool.cs,
583 Npgsql/NpgsqlError.cs,
584 Npgsql/NpgsqlException.cs,
585 Npgsql/NpgsqlParameterCollection.cs,
586 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.
588 2004-04-30 Todd Berman <tberman@sevenl.net>
590 * Npgsql/AssemblyInfo.cs: use the proper path to the .pub file
592 2004-04-30 Duncan Mak <duncan@ximian.com>
594 * Npgsql/AssemblyInfo.cs: Enable delay signing, using Npgsql.pub.
596 * Npgsql/Npgsql.pub: Added to CVS.
598 2004-04-21 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
599 * Npgsql/NpgsqlDataAdapter.cs: Changed RowUpdated and RowUpdating prefix to Npgsql.
600 * Npgsql/NpgsqlClosedState.cs: Removed dependency in TlsException. Carlos Guzman will change this excpetion to internal.
602 * Npgsql/NpgsqlCommand.cs
603 * Npgsql/NpgsqlCommand.resx
604 * Npgsql/NpgsqlConnection.cs
605 * Npgsql/NpgsqlConnection.resx
606 * Npgsql/NpgsqlDataAdapter.cs
607 * Npgsql/NpgsqlError.cs
608 * Npgsql/NpgsqlException.cs
609 * Npgsql/NpgsqlException.resx
610 * Npgsql/NpgsqlMediator.cs
611 * Npgsql/NpgsqlState.cs
612 * Npgsql/NpgsqlState.resx
613 * 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.
617 2004-04-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
618 * 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.
620 2004-03-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
621 * 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.
623 2004-03-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
624 * Npgsql/NpgsqlConnection.cs: Implemented IClonable interface in NpgsqlConnection class. Thanks Juliano Barbosa for pointing it out.
626 2004-03-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
627 * Npgsql/NpgsqlAsciiRow.cs
628 * Npgsql/NpgsqlBinaryRow.cs
629 * Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
632 2004-03-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
634 * Npgsql/NpgsqlConnection.cs:
635 * 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.
636 * NpgsqlTypes/NpgsqlTypesHelper: Applied patch to correctly parse datetimes values with timezone information. Thanks Glen Parker <glenebob@nwlink.com> for the patch.
639 2004-03-06 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
641 * Npgsql/NpgsqlConnectorPool.cs: Fixed bug 706 in gborg. Now Max timeout will be working correctly. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
643 2004-02-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
644 * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding. Added support for encoding and connection timeout in connection string.
645 * Npgsql/NpgsqlConnectorPool.cs: Added support for timeout and max connection pool.
647 2004-02-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
649 * Npgsql/NpgsqlConnector.cs: Added support for connection encoding.
650 * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding.
651 * 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.
654 2004-02-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
656 * Npgsql/NpgsqlDataReader.cs: Fixed a OutOfBoundsException when trying to access an element after have read all elements. Now it throws an InvalidOperationException.
658 * Npgsql/NpgsqlConnection.cs: Fixed Unicode handling. This also fixes bug 695 in gborg. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
661 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
663 * Npgsql/NpgsqlDataReader.cs: Removed a log line which reduced the conne
664 ction startup time in 300 milliseconds.
666 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
668 * NpgsqlConnection.cs: Added support for Unicode encoding. Fixes feature
669 request 534 on gborg. Thanks Ivar <ivar@lumisoft.ee> for pointing it out.
671 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
673 * Npgsql/NpgsqlStartupPacket.cs: Added code to set datestyle to iso when
674 connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for pointing it out.
676 2004-02-14 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
678 * Npgsql/NpgsqlCommand.cs: Fixed a bug when handling queries which return no data. Thanks Morten Mertner <morten@mertner.com> for the fix.
680 2004-02-10 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
682 * NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for datetime and time datatypes with timezone data. Thanks Sami Kuhmonen (sami@iqs.fi).
684 2004-01-15 Jackson Harper <jackson@ximian.com>
686 * NpgslTypes/NpgsqlTypesHelper.cs: Add StringFixedLength type.
688 2003-11-23 Pedro Martínez Juliá <yoros@wanadoo.es>
690 * Npgsql/HashAlgorithm.cs:
691 * Npgsql/NpgsqlClosedState.cs:
692 * Npgsql/NpgsqlCommand.cs:
693 * Npgsql/NpgsqlConnectedState.cs:
694 * Npgsql/NpgsqlConnection.cs:
695 * Npgsql/NpgsqlReadyState.cs:
696 * Npgsql/NpgsqlStartupState.cs:
697 * Npgsql/NpgsqlState.cs: Apply Disposable pattern, when using
698 ADO.NET we need to call Dispose after using any Component like
699 NpgsqlDataAdapter, NpgsqlConnection, etc... Change a few internal
700 methods to Properties.
702 2003-11-22 Pedro Martínez Juliá <yoros@wanadoo.es>
704 * Npgsql/NpgsqlClosedState.cs:
705 * Npgsql/NpgsqlConnectedState.cs:
706 * Npgsql/NpgsqlConnection.cs:
707 * Npgsql/NpgsqlReadyState.cs:
708 * Npgsql/NpgsqlState.cs: Changes related to the last update of SSL
709 implementation. Now we're using TcpClient for the connection and
710 Stream for the abstraction layer to SslClientStream.
712 2003-11-11 Pedro Martínez Juliá <yoros@wanadoo.es>
714 * Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
715 CanRead because the schema can be readed with or without result
718 2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
720 * Npgsql/NpgsqlDataAdapter.cs: Best use "if" instead of try-catch.
722 2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
724 * Npgsql/NpgsqlDataAdapter.cs: Catch the exception thrown by MS.NET
725 when a mapping is not in the collection.
727 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
729 * Npgsql/NpgsqlDataAdapter.cs: Do not assing the result of the
730 CommandBuilder to the local data. Local data should be null if the
731 client doesn't set them.
733 * Npgsql/NpgsqlCommandBuilder.cs: Mistake in param name fixed.
735 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
737 * Makefile: Little fix for build the resources.
739 * Npgsql/NpgsqlCommandBuilder.cs: Added row version in delete
742 2003-11-08 Pedro Martínez Juliá <yoros@wanadoo.es>
744 * Npgsql/NpgsqlCommand.cs: Removed try-catch for Resource Manager
745 calls, the problem is fixed.
747 * Makefile: Fix one bug in the build of resources.
749 2003-11-08 Pedro Martínez Juliá <yoros@wanadoo.es>
751 * Npgsql/NpgsqlCommandBuilder.cs: Added the command builder.
753 * Npgsql/NpgsqlDataAdapter.cs: Added the CommandBuilder stuff. When
754 OnRowUpdating is called we create the command necesary for updating,
755 inserting or deleting any row of the DataTable/DataSet.
757 * Npgsql/NpgsqlCommand.cs: Temporary try-catch. ResMan still doesn't
758 work. This must be removed when ResMan works.
760 * Npgsql/NpgsqlParameter: No more than one call to value.GetType()
761 is more efficient for the deep if structure types.
763 2003-11-07 Pedro Martínez Juliá <yoros@wanadoo.es>
765 * Npgsql/NpgsqlDataAdapter.cs: Fixed the mistake I did in the last
766 change. The Command objects must not be created in the constructor.
767 The Commands should be in the overrided method "OnRowUpdating".
769 * Npgsql/NpgsqlCommand.cs: Added two try-catch instructions to get
770 the proper exception (not MissingManifestResourceException). It is
771 thrown in MS.NET and in MONO. (Npgsql compiled with MCS).
773 2003-11-07 Pedro Martínez Juliá <yoros@wanadoo.es>
775 * Npgsql/NpgsqlDataAdapter.cs: Create new Command classes for the
776 different Insrt / Update / Delete commands.
778 2003-10-20 Pedro Martínez Juliá <yoros@wanadoo.es>
780 * Npgsql/NpgsqlClosedState.cs:
781 * Npgsql/NpgsqlConnection.cs:
782 * Npgsql/NpgsqlConnectedState.cs:
783 * Npgsql/NpgsqlReadyState.cs:
784 * Npgsql/NpgsqlState.cs: Changed the namespace for Tls, now the
785 namespace is Mono.System.Protocol.Tls, before was
788 * Npgsql/Makefile: Change reference from System.Security.Tls to
789 Mono.Security (now Tls lives there).
791 2003-10-16 Pedro Martínez Juliá <yoros@wanadoo.es>
793 * Npgsql/NpgsqlClosedState.cs:
794 * Npgsql/NpgsqlConnectedState.cs:
795 * Npgsql/NpgsqlConnection.cs: Changed TcpClient by TlsSession
796 because now it is used TlsSession and it doesn't work without
799 2003-10-16 Pedro Martínez Juliá <yoros@wanadoo.es>
801 * Makefile: changed reference from Lib/System.Security.Tls.dll to
802 System.Security.Tls because the last will be installed before and
805 * Lib: Removed Lib directory, moved System.Security.Tls.dll to
806 Mono.Security.Tls library directory.
808 2003-10-15 Pedro Martínez Juliá <yoros@wanadoo.es>
810 * Makefile: fix building and the install objectives.
812 2003-04-26 Pedro Martínez Juliá <yoros@wanadoo.es>
814 * Npgsql/NpgsqlDataReader.cs: Change GetFloat and GetDouble. Now
815 they works as direct casting from GetValue.
817 2003-07-18 Peter Williams <peter@newton.cx>
819 * Npgsql/AssemblyInfo.cs: Don't strongname the assembly, because
820 we can't unless corlib is strongnamed too. Not a wonderful solution,
821 but I don't think this ever worked anyway.
823 2003-05-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
824 * Npgsql/NpgsqlDataReader.cs: Fixed an invalid index exception when
825 processing 0 rows queries.
827 2003-04-26 Pedro Martínez Juliá <yoros@wanadoo.es>
829 * Npgsql/NpgsqlDataReader.cs: Now GetDateTime works for "dd/MM/yyyy"
830 date formats. I think that it's needed support to auto-detect
831 DateTime format through PgSql server configuration.
833 2003-01-28 Daniel Morgan <danmorg@sc.rr.com>
835 * Npgsql.build: got it to work for Windows build
837 * Npgsql/Npgsql.build
839 * Npgsql/Npgsql.prjx: removed files not needed
841 2003-01-28 Daniel Morgan <danmorg@sc.rr.com>
843 * added the Npgsql (Npgsql is a .Net Data Provider for PostgreSQL)
844 from http://gborg.postgresql.org/project/npgsql/projdisplay.php
845 by adding the following files and directories to the mcs module
846 in mono-cvs.ximian.com at mcs/class:
859 Npgsql/Npgsql (directory)
860 Npgsql/AssemblyInfo.cs
861 Npgsql/NpgsqlAsciiRow.cs
862 Npgsql/NpgsqlBackEndKeyData.cs
863 Npgsql/NpgsqlClosedState.cs
864 Npgsql/NpgsqlCommand.cs
865 Npgsql/NpgsqlConnectedState.cs
866 Npgsql/NpgsqlConnection.cs
867 Npgsql/NpgsqlConnector.cs
868 Npgsql/NpgsqlConnectorPool.cs
869 Npgsql/NpgsqlDataAdapter.cs
870 Npgsql/NpgsqlDataReader.cs
871 Npgsql/NpgsqlEventLog.cs
872 Npgsql/NpgsqlException.cs
873 Npgsql/NpgsqlMediator.cs
874 Npgsql/NpgsqlMessageTypes.cs
875 Npgsql/NpgsqlParameter.cs
876 Npgsql/NpgsqlParameterCollection.cs
877 Npgsql/NpgsqlPasswordPacket.cs
878 Npgsql/NpgsqlQuery.cs
879 Npgsql/NpgsqlReadyState.cs
880 Npgsql/NpgsqlResultSet.cs
881 Npgsql/NpgsqlRowDescription.cs
882 Npgsql/NpgsqlStartupPacket.cs
883 Npgsql/NpgsqlStartupState.cs
884 Npgsql/NpgsqlState.cs
885 Npgsql/NpgsqlTransaction.cs