forked from npgsql/npgsql
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog
4492 lines (3181 loc) · 149 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2012-07-06 23:10 jbcooley
* src/Npgsql/SqlGenerators/: SqlBaseGenerator.cs,
VisitedExpression.cs: Fix Include combined with Skip and/or Take
using linq to entities for bug #1011208
2012-06-06 11:25 fxjr
* src/Npgsql/NpgsqlClosedState.cs:
[#1011200] Uses API not supported in MonoTouch. Also fixes
https://bugzilla.xamarin.com/show_bug.cgi?id=4992 Npgsql2.0.11 Is
not working on MonoTouch. Thanks Sebastien for heads up and all
others for helping with this issue.
2012-03-23 09:45 fxjr
* src/Npgsql/NpgsqlCommand.cs:
[#1011161] Bug in NpgsqlCommand while getting readers from
refcursors. Thanks Rabin Karki for heads up and patch.
2012-03-11 22:59 fxjr
* src/Npgsql/NpgsqlTransaction.cs:
[#1011174] Requesting the REPEATABLE READ isolation level gives
you SERIALIZABLE. Thanks Randy Ficker for heads up and patch.
Npgsql wasn't honoring the repeatable read isolation level
request. This used to work until 9.1 version.
2012-02-22 00:40 jbcooley
* src/policy.2.0.Npgsql.config: Updated to Npgsql 2.0.12 beta 3
(2.0.11.93) release.
2012-02-22 00:39 fxjr
* src/Npgsql/AssemblyInfo.cs:
Updated to Npgsql 2.0.12 beta 3 (2.0.11.93) release.
2012-02-22 00:00 fxjr
* ChangeLog:
Updated to 2.0.12 beta3 release (2.0.11.93)
2012-02-21 23:49 fxjr
* RELEASENOTES.txt:
Added release notes for 2.0.12 beta3 (2.0.11.93)
2012-02-21 23:21 jbcooley
* src/policyFileBuild.bat: adding helper script for building policy
dll.
2012-02-02 11:46 fxjr
* src/Npgsql/NpgsqlProviderManifest.cs:
Applied patch #1011157. Fixes bug #1011102 -
DateTimeOffset/TimeSpan mapping problem on EF 4.1, .NET 4, using
code first. Thanks Mirko Geffken for patch.
2012-01-12 16:44 fxjr
* src/: Npgsql/Cache.cs, Npgsql/NpgsqlCommand.cs,
Npgsql/NpgsqlCommandBuilder.cs, Npgsql/NpgsqlConnector.cs,
Npgsql/NpgsqlConnectorPool.cs, Npgsql/NpgsqlState.cs,
Npgsql/PGUtil.cs, NpgsqlTypes/BitString.cs:
Applied Gildas Prime patch with Gendarme report corrections:
Avoid concatenating chars rule ( i.e Unneeded boxing) A recursive
method was found (Method remove in NpgsqlParameterCollection)
Disposable fields should be disposed Do not lock on this (
lock(this) makes very difficult to ensure that the locking is
done correctly.) Ensure that local variables are disposed
surrounding them by using()
2012-01-10 01:14 fxjr
* src/Npgsql/NpgsqlConnectorPool.cs:
Fixed tabulation.
2012-01-09 12:48 fxjr
* src/Npgsql/NpgsqlConnectorPool.cs:
Fix [#1011138] Connection pooling performance suffers under heavy
load. Rewritten connector pool logic in order to keep lock for
much less time and also with a higher granularity. Thanks Andrew
for heads up.
2011-12-22 13:08 fxjr
* testsuite/noninteractive/NUnit20/TypesTests.cs:
Fixed line endings.
2011-12-17 00:42 fxjr
* src/Npgsql/NpgsqlConnectionStringBuilder.cs:
Fixed line endings.
2011-12-17 00:36 fxjr
* src/NpgsqlTypes/: DateDatatypes.cs, NpgsqlTypesHelper.cs:
Fixed bug [#1011101] LINQ to entities timestamptz does not accept
DateTimeOffset or DateTime. Thanks Misha Sugakov for patch and
testing.
2011-12-17 00:01 fxjr
* testsuite/noninteractive/NUnit20/NpgsqlParameterTests.cs:
Added testcase for bug #1011100
2011-12-17 00:00 fxjr
* testsuite/noninteractive/NUnit20/TypesTests.cs:
Fixed line endings.
2011-12-16 23:58 fxjr
* testsuite/noninteractive/NUnit20/CommandTests.cs:
Fixed a test which were leaking a datareader open.
Added bug tests
Added initial massive datatype testcase.
2011-12-13 17:42 fxjr
* src/Npgsql/NpgsqlClosedState.cs:
Fixed line endings.
2011-12-12 14:27 fxjr
* src/Npgsql/PGUtil.cs:
Fixed line endings.
2011-12-09 19:29 fxjr
* src/Npgsql/NpgsqlParameter.cs:
Fix [#1011100] NpgsqlParameter and DBNull Value. Now
NpgsqlParameter changes the dbtype accordingly to the value
assigned to it unless the dbtype has been assigned explicitly.
2011-12-09 19:14 fxjr
* src/Npgsql/NpgsqlConnectorPool.cs:
Fixed line endings.
2011-12-09 19:13 fxjr
* src/Npgsql/NpgsqlConnector.cs:
Removed NpgsqlConnector finalizer call. Now connection close
handling in the worst case is done by the NpgsqlNetworkStream
which takes care of sending the proper Postgresql message when
disposing the underlying socket.
2011-12-05 00:00 fxjr
* src/Npgsql/NpgsqlClosedState.cs:
Fixed "LOG: unexpected EOF on client connection" messages
appearing in postgresql log. See
http://fxjr.blogspot.com/2011/12/fixed-log-unexpected-eof-on-client.html
for more information.
2011-11-30 12:19 fxjr
* src/Npgsql.build:
Removed assembly info creation from build process. There are now
some options in the assemblyinfo which I couldn't create yet. For
while, it is hardcoded again.
2011-11-29 01:35 fxjr
* src/Npgsql/NpgsqlConnectorPool.cs:
Normalized line endings...
2011-11-29 01:25 fxjr
* src/Npgsql/NpgsqlConnector.cs:
Normalized line endings....
2011-11-21 00:44 fxjr
* testsuite/noninteractive/NUnit20/CommandTests.cs:
Fixed Bug1010788UpdateRowSource testcase.
2011-11-21 00:04 fxjr
* src/Npgsql/NpgsqlCommandBuilder.cs:
Fixed some encoding problems detected by Monodevelop.
2011-11-19 02:11 fxjr
* testsuite/noninteractive/NUnit20/CommandTests.cs:
Removed erroneous line added by mistake. Fixed warning with
NpgsqlParameters.Add method. Used AddWithValue.
2011-11-19 01:43 fxjr
* testsuite/noninteractive/NUnit20/CommandTests.cs:
Fixed problem with file encoding.
2011-11-19 01:03 fxjr
* src/Npgsql/NpgsqlConnector.cs,
src/NpgsqlTypes/NpgsqlTypeConverters.cs,
src/NpgsqlTypes/NpgsqlTypesHelper.cs,
testsuite/noninteractive/NUnit20/CommandTests.cs:
Fix: [#1010992] System.Double to DOUBLE PRECISION conversion bug.
Thanks Udo Liess for excellent report, test case and fix.
2011-09-28 22:55 fxjr
* RELEASENOTES.txt:
Updated release notes for beta 2 release.
2011-09-28 22:33 jbcooley
* ChangeLog: Updated for build 2.0.11.92
2011-09-28 22:26 jbcooley
* src/Npgsql/AssemblyInfo.cs: Updated for build 2.0.11.92
2011-09-28 22:21 jbcooley
* src/policy.2.0.Npgsql.config: Updated for build 2.0.11.92
2011-09-25 13:48 jbcooley
* testsuite/noninteractive/NUnit20/: App.config,
NpgsqlTests2010.csproj, xmlModel/XmlTest.ObjectLayer.cs,
xmlModel/XmlTest.Views.cs, xmlModel/XmlTest.csdl,
xmlModel/XmlTest.msl, xmlModel/XmlTest.ssdl: Added XmlTest entity
model
2011-07-11 10:33 fxjr
* src/Npgsql/: NpgsqlConnection.cs, NpgsqlSchema.cs:
Added patch from Patrick Earl. Thanks, Patrick!
http://pgfoundry.org/forum/message.php?msg_id=1014749
This was implemented to support more of the NHibernate test
suite. Here is what it does and does not do:
1. It adds support for the "ForeignKeys" collection that uses
almost the same format that SqlConnection Server does. The only
difference is the deferrable bool columns are actually bools
instead of strings.
2. It fixes the restrictions for index and index column schema
retrieval.
3. It does not change the index column code to provide the
capability of getting the foreign key columns (assuming it
doesn't do it already). I didn't have a failing test depending on
this, so I didn't check or implement anything here.
http://patearl.net/files/Npgsql2.patch
2011-07-05 13:05 fxjr
* src/Npgsql/NpgsqlDataReader.cs,
testsuite/noninteractive/NUnit20/DataReaderTests.cs:
[#1011044]. Fixed missing NpgsqlDataReader.GetTimeSpan() method.
Added unit test case to cover this method.
2011-06-15 13:23 fxjr
* src/Npgsql/: NpgsqlConnection.cs,
NpgsqlConnectionStringBuilder.cs, NpgsqlConnector.cs:
Fixed problem with last update about Password as byte[]. Reverted
type of Password property of NpgsqlConnectionStringBuilder to
String again. It was changed from String to byte[] which was
causing problems with previous client code. There is a new
property called PasswordAsByteArray for those willing to use the
byte[] property. Thanks Dan Shoubridge for heads up.
2011-04-27 10:10 fxjr
* src/Npgsql/: NpgsqlConnection.cs, NpgsqlSchema.cs:
New: [#1011021] Support DbMetaDataCollectionNames.ReservedWords.
Thanks Patrick Earl for patch.
2011-04-24 23:29 fxjr
* src/NpgsqlTypes/NpgsqlTypesHelper.cs,
testsuite/noninteractive/NUnit20/TypesTests.cs:
[ npgsql-Bugs-1011018 ] Invalid Cast with DbType.Time Parameter.
Thanks Patrick Earl for patch. Also added test case to reproduce
the problem.
2011-04-06 23:15 fxjr
* src/Npgsql/: NpgsqlConnectionStringBuilder.cs,
NpgsqlConnector.cs:
[#1010977] Add application_name support to connection string.
Thanks Chris Coleman for patch.
2011-04-06 22:48 fxjr
* src/NpgsqlTypes/NpgsqlDbType.cs,
src/NpgsqlTypes/NpgsqlTypeConverters.cs,
src/NpgsqlTypes/NpgsqlTypes.cs,
src/NpgsqlTypes/NpgsqlTypesHelper.cs,
testsuite/noninteractive/NUnit20/TypesTests.cs:
[#1011008] Add PhysicalAddress (MAC Address) support to Npgsql.
Thanks Gildas for patche and test case.
2011-04-05 11:13 fxjr
* src/NpgsqlTypes/NpgsqlTypeConverters.cs:
[npgsql-Patches-1011012 ] Australian Date and Time Formats.
Thanks Hans Peter for patch.
2011-03-24 22:52 fxjr
* RELEASENOTES.txt:
Updated release notes for beta1 release of Npgsql 2.0.12
(2.0.11.91)
2011-03-24 22:50 jbcooley
* src/policy.2.0.Npgsql.config: updated for 2.0.11.91 beta release
2011-03-24 22:33 jbcooley
* ChangeLog: updated change log.
2011-03-24 22:23 jbcooley
* src/Npgsql/NpgsqlConnectorPool.cs: Changed from HashSet to
Dictionary so we can build a .NET 2.0 profile version.
2011-03-24 21:55 fxjr
* src/Npgsql/AssemblyInfo.cs:
Changed assembly version info to indicate a beta1 version of
2.0.12 (2.0.11.91) Added a fix to
AllowPartiallyTrustedCallersAttribute when using .net 4.0
framework. See
http://weblogs.asp.net/peterblum/archive/2009/11/06/typeloadexception-based-on-security-transparent-code-level-2.aspx
for more information.
2011-03-24 21:22 fxjr
* src/Npgsql/AssemblyInfo.cs:
Updated copyright year
2011-03-24 21:15 jbcooley
* src/: Npgsql.csproj, Npgsql.sln: Removed 2005 project and
solution as no longer supported
2011-03-14 22:25 fxjr
* src/Npgsql/NpgsqlConnectorPool.cs:
[#1010997] Consider using System.Threading.Timer instead of
System.Timers.Timer Thanks Alex A Ermoshenko for feedback, patch
and tests.
2011-03-14 22:06 fxjr
* src/Npgsql/: NpgsqlConnector.cs, NpgsqlState.cs:
[#1010986] Endless recursion on hanging connection in
ProcessBackendResponsesEnum. Thanks Gildas for feedback and
tests.
Also added a better check in NpgsqlConnector.IsValid(). Now it
generates a random number and checks the select return value to
see if everything is ok. Should fix problems where Npgsql was
returning connectors in wrong state.
2011-03-08 12:50 fxjr
* src/Npgsql/: NpgsqlConnection.cs,
NpgsqlConnectionStringBuilder.cs, NpgsqlConnector.cs,
NpgsqlPasswordPacket.cs, NpgsqlStartupState.cs, NpgsqlState.cs,
PGUtil.cs, SSPIHandler.cs:
Fixed problems with SSPI authentication when the password had
some non ascii characteres. Also, Npgsql supports to
authenticate with an user name other than the current logged one.
Thanks Ahmed Shinwari for tests and patch. See
http://postgresql.1045698.n5.nabble.com/quot-could-not-accept-SSPI-security-context-quot-td3275102.html
and
http://lists.pgfoundry.org/pipermail/npgsql-devel/2011-February/001116.html
for more info.
2011-03-01 21:08 fxjr
* testsuite/noninteractive/NUnit20/CommandTests.cs:
Added patches for connection leaks in tests. Thanks David Leaer.
Added test for double value support.
2011-03-01 18:09 fxjr
* src/Npgsql/NpgsqlConnectorPool.cs:
In Multi-threaded applications there is a race condition that can
occur which will result in a broken connection being re-added to
the pool. Thanks David Leaver for patches.
More information here:
http://pgfoundry.org/forum/forum.php?thread_id=10067&forum_id=519
2011-02-21 22:30 fxjr
* src/Npgsql/NpgsqlConnector.cs:
NpgsqlConnector.CancelRequest leaks Connector.
NpgsqlConnector.CancelRequest creates a connector to cancel the
running request, but does not close it. More info at:
http://pgfoundry.org/forum/forum.php?thread_id=10059&forum_id=519
Thanks David Leaver for patch.
2011-02-21 22:17 fxjr
* src/Npgsql/NpgsqlReadyState.cs:
Exception when closing connection. If your connection is in the
Ready state and the stream is actually broken
NpgsqlReadyState.Close will throw an exception when trying to
write to the stream. More info can be found at:
http://pgfoundry.org/forum/forum.php?thread_id=10066&forum_id=519
Thanks David Leaver for the patch.
2011-02-06 19:06 fxjr
* src/Npgsql/NpgsqlConnectionStringBuilder.cs:
Forget to add mail reference for last commit:
http://lists.pgfoundry.org/pipermail/npgsql-devel/2011-February/001117.html
2011-02-06 19:00 fxjr
* src/Npgsql/NpgsqlConnectionStringBuilder.cs:
Added performance patch to GetKeyName method. Thanks Dan Smith
for patch.
2011-01-28 17:04 fxjr
* src/Npgsql/NpgsqlCommandBuilder.cs:
[#1010973] specified cast is invalid - datetime fields. In order
to fix this bug I had to disable some code in
NpgsqlCommandBuilder. Watch out for possible side effects.
Also changed Get***Command to reuse the version which takes a
parameter.
2010-12-16 10:34 fxjr
* src/: Npgsql.build, Npgsql/AssemblyInfo.cs:
Fixed: [#1010951] AllowPartiallyTrustedCallers for npgsql
assemblies. Updated AssemblyInfo.cs to include the fix above and
to update assembly version.
2010-11-05 22:42 fxjr
* ChangeLog:
Updated changelog to 2.0.11 release
2010-11-05 22:33 fxjr
* RELEASENOTES.txt:
Updated release notes for 2.0.11 release.
2010-11-05 22:26 fxjr
* src/Npgsql/AssemblyInfo.cs:
Updated AssemblyInfo for 2.0.11.0 release.
2010-11-05 22:25 jbcooley
* src/policy.2.0.Npgsql.config: Updating for new release
2010-10-24 17:32 fxjr
* src/NpgsqlTypes/NpgsqlTypeConverters.cs:
[#1010921] Data corrupted transferring bytea data from PostgreSQL
9 server. Thanks Mathieu Fenniak for patch. See
http://pgfoundry.org/pipermail/npgsql-devel/2010-January/001057.html
2010-10-18 00:47 jbcooley
* src/Npgsql/: NpgsqlConnection.cs, NpgsqlMetaData.xml,
NpgsqlSchema.cs: Bug #1010650 - support metadata for indexes.
2010-08-18 00:19 fxjr
* src/NpgsqlTypes/: NpgsqlTypes.cs, NpgsqlTypesHelper.cs:
Added fix to return CLR type when working with NpgsqlInet and
IPAddress types in NpgsqlDataReader.GetValue(). See
http://pgfoundry.org/forum/message.php?msg_id=1006360 for more
info about that. Also, changed implicit operator to explicit
operator because it throws exceptiomn. Documentation says
implicit operators shouldn't throw exceptions.
2010-08-08 23:22 jbcooley
* src/Npgsql/SqlGenerators/: SqlBaseGenerator.cs,
VisitedExpression.cs: Fixes for SQL generation bugs reported in
#1010863 and #1010860
2010-08-01 17:52 fxjr
* ChangeLog:
Updated Changelog to 2.0.10 release.
2010-08-01 17:47 fxjr
* RELEASENOTES.txt:
Added release notes for 2.0.10 release.
2010-08-01 17:41 jbcooley
* src/policy.2.0.Npgsql.config: target policy file for redirect to
2.0.10.
2010-08-01 17:41 jbcooley
* src/Npgsql2010.csproj: Added NET40 define so the .NET 4.0 code
gets compiled in.
2010-08-01 17:24 fxjr
* src/Npgsql/AssemblyInfo.cs:
Updated AssemblyInfo generated info for 2.0.10.0
2010-07-18 20:51 fxjr
* src/NpgsqlTypes/NpgsqlTypesHelper.cs:
Added UInt16 type mapping.
2010-07-10 00:42 fxjr
* src/Npgsql/NpgsqlParameter.cs:
Fixed more bugs about ResetDbType() and null values. Now, Npgsql
is a little bit more conformant to sqlclient.
2010-07-10 00:17 fxjr
* src/Npgsql/NpgsqlParameter.cs:
Fixed bug where Npgsql was returning DBNull for a fresh
NpgsqlParameter. According to tests based on sqlclient, Npgsql
should return null.
2010-07-10 00:01 jbcooley
* testsuite/noninteractive/NUnit20/NpgsqlParameterTests.cs: Fix an
additional broken tests
2010-07-09 23:52 jbcooley
* testsuite/noninteractive/NUnit20/NpgsqlParameterTests.cs: Fix
some of the broken tests
2010-07-09 23:47 jbcooley
* testsuite/noninteractive/NUnit20/NpgsqlParameterTests.cs: Ported
more tests. Test validation still needs to be done.
2010-07-09 23:13 jbcooley
* testsuite/noninteractive/NUnit20/: NpgsqlParameterTests.cs,
NpgsqlTests2008.csproj, NpgsqlTests2010.csproj: Update and
include tests for NpgsqlValue in NpgsqlParameter
2010-07-09 22:46 jbcooley
* src/NpgsqlTypes/NpgsqlTypesHelper.cs: Fix build for .NET 2.0
2010-07-09 22:34 fxjr
* src/: Npgsql/NpgsqlParameter.cs,
NpgsqlTypes/NpgsqlTypesHelper.cs:
[#1010798] Cast-Exception with NpgsqlTimeStamp to
System.DateTime. Fixed. Also fixed another problem where Npgsql
was mapping DbType.DateTime to NpgsqlDbType.TimestampTZ.
2010-06-24 22:38 jbcooley
* src/: Npgsql/NpgsqlCommand.cs, Npgsql/NpgsqlDataReader.cs,
Npgsql/NpgsqlProviderManifest.Manifest.xml,
Npgsql/NpgsqlProviderManifest.cs,
Npgsql/SqlGenerators/SqlBaseGenerator.cs,
Npgsql/SqlGenerators/SqlSelectGenerator.cs,
Npgsql/SqlGenerators/VisitedExpression.cs,
NpgsqlTypes/NpgsqlTypesHelper.cs: Support for Time types and
DateTimeOffset types in Entity Framework
2010-06-24 22:27 jbcooley
* src/Npgsql/NpgsqlDataAdapter.cs: changes to be compatible with
various versions of mono's implementation of DbDataAdapter.
2010-06-24 02:00 fxjr
* src/NpgsqlTypes/ArrayHandling.cs,
src/NpgsqlTypes/NpgsqlTypeConverters.cs,
src/NpgsqlTypes/NpgsqlTypesHelper.cs,
testsuite/noninteractive/NUnit20/CommandTests.cs:
[#1010787] Inserting an array does not work in a prepared
statement. Fixed. Changed delegator definition responsible to
handle conversion from CLR type to server to take a
ForExtendedQuery parameter so the function can handle correctly
when to return a plain query representation or when return a
representation used for extended query. Until now, the types were
simple and representation was the same. This changes with array
handling where the representation is different for each case.
Added testcase too. More testcases needed.
2010-06-16 22:50 jbcooley
* src/Npgsql/NpgsqlCommand.cs: Cleanup extra lines and newline
format.
2010-06-13 17:09 fxjr
* src/Npgsql/NpgsqlCommand.cs:
[#1010776] for a prepared command, ExecuteNonQuery() does not
return. Npgsql wasn't handling correctly errors while in extended
query processing. Now it returned correctly and throws
exceptions.
2010-05-31 23:02 jbcooley
* src/Npgsql/NpgsqlCommand.cs: cleaned up UpdatedRowSource code and
added value validation rather than type validation.
2010-05-31 22:59 jbcooley
* src/Npgsql/NpgsqlSchema.ssdl: provide default value during model
generation
2010-05-31 21:30 jbcooley
* src/NpgsqlTypes/ArrayHandling.cs: support null items in arrays
2010-05-31 21:27 jbcooley
* src/Npgsql/NpgsqlCommandBuilder.cs,
testsuite/noninteractive/NUnit20/CommandTests.cs: bug #1010825 -
support derive parameters for parameterless functions
2010-05-31 18:27 jbcooley
* testsuite/noninteractive/NUnit20/DataAdapterTests.cs: bug
#1010768 - test for Mono regression
2010-05-31 18:00 jbcooley
* src/Npgsql/NpgsqlRow.cs,
testsuite/noninteractive/NUnit20/DataReaderTests.cs: bug #1010829
- Fix support for CommandBehavior.SequentialAccess with multiple
columns.
2010-05-30 11:28 jbcooley
* src/Npgsql/SqlGenerators/: SqlBaseGenerator.cs,
VisitedExpression.cs: Fix multi-level join generated sql
2010-05-29 12:36 jbcooley
* testsuite/noninteractive/NUnit20/NpgsqlParameterTests.cs: Mono
unit tests for SqlClient partially ported to Npgsql.
2010-05-23 15:13 fxjr
* src/Npgsql/PGUtil.cs:
Reverted back previous optimization with Int32 and Int16
readbuffers. They were having concurrency problems. Thanks
Matthew Gabeler-Lee for heads up and testing.
2010-05-14 11:18 fxjr
* testsuite/noninteractive/NUnit20/CommandTests.cs:
Added missing tests for bug 1010788 and array handling of
doubles. Prepared statements with array of doubles still hang.
Needs fixing.
2010-05-10 22:42 fxjr
* src/NpgsqlTypes/DateDatatypes.cs:
Changed line endings to Windows Format.
2010-05-09 20:53 fxjr
* src/NpgsqlTypes/BitString.cs:
[#1010804] Endless loop in BitString? Thanks Gildas for testing
and fix.
2010-05-02 23:38 jbcooley
* src/Npgsql/NpgsqlCommandBuilder.cs: Support full Npgsql parameter
types when building parameters (this specifically fixed arrays).
help msg 1006026.
2010-05-02 12:31 fxjr
* src/Npgsql/NpgsqlCopyIn.cs:
[#1010796] Notification thread not released after copy from
stdin. Thanks Stelian Dumitrascu (stelian @nospam@
geocentral.net) for patch and Gildas (prime.gildas @nospam@
gmail.com) for testing. I also added this patch to Cancel method
which may suffer from the same problem.
2010-04-15 00:16 jbcooley
* src/Npgsql2010.csproj, src/Npgsql2010.sln,
testsuite/noninteractive/NUnit20/NpgsqlTests2010.csproj: vs 2010
rtm
2010-04-15 00:13 jbcooley
* src/policy.2.0.Npgsql.config: updated for build 2.0.9
2010-04-13 20:18 fxjr
* RELEASENOTES.txt:
Updated to 2.0.9 release
2010-04-13 20:17 fxjr
* ChangeLog:
Update to 2.0.9 release
2010-04-13 20:11 fxjr
* src/Npgsql/AssemblyInfo.cs:
Updated AssemblyInfo file with generated information.
2010-04-10 14:39 fxjr
* src/Npgsql/NpgsqlCommand.cs:
[#1010788] NpgsqlCommand and UpdatedRowSource property. Now
NpgsqlCommands created through NpgsqlCommandBuilder will have by
default UpdatedRowSource property as UpdateRowSource.None.
2010-04-10 14:29 fxjr
* src/Npgsql/NpgsqlCommandBuilder.cs:
[ npgsql-Bugs-1010788 ] NpgsqlCommand and UpdatedRowSource
property. Now NpgsqlCommands created through NpgsqlCommandBuilder
will have by default UpdatedRowSource property as
UpdateRowSource.None.
2010-04-06 01:02 fxjr
* src/Npgsql/NpgsqlCommand.cs:
[#1010779] Respect CommandTimeout in first function call w/
string parameter. Patch applied. Thanks Noah Misch (noah.misch
@nospam@ channeladvisor.com) for tests and patch.
2010-03-29 10:46 fxjr
* src/Npgsql/NpgsqlConnector.cs:
Try to set SSL negotiation to 0. As of 2010-03-29, recent
problems in SSL library implementations made postgresql to add a
parameter to set a value when to do this renegotiation or 0 to
disable it.
Currently, Npgsql has a problem with renegotiation so, we are
trying to disable it here. This only works on postgresql servers
where the ssl renegotiation settings is supported of course. See
http://lists.pgfoundry.org/pipermail/npgsql-devel/2010-February/001065.html
for more information.
Thanks Albe Laurenz for heads up and patch.
2010-03-29 10:07 fxjr
* src/Npgsql/NpgsqlCommand.cs:
Fixed line endings to CRLF.
2010-03-21 23:43 fxjr
* src/Npgsql/NpgsqlCommand.cs,
testsuite/noninteractive/add_functions.sql,
testsuite/noninteractive/NUnit20/CommandTests.cs:
[#1010780] Reduce use of utility queries for function calls
(CommandType.StoredProcedure). Thanks Noah Misch for tests. Patch
(2 of 2):
2010-03-18 Noah Misch <noah.misch @nospam@ channeladvisor.com>
* src/Npgsql/NpgsqlCommand.cs (GetClearCommandText): Do not
call
`CheckFunctionHasOutParameters'.
(CheckFunctionNeedsColumnDefinitionList): Check return type
and presence
of OUT, INOUT, and TABLE arguments.
(CheckFunctionHasOutParameters): Delete method.
* testsuite/noninteractive/NUnit20/CommandTests.cs
(StatementOutputParameters): Test a multi-row result set.
(ReturnSetofRecord): New method.
[#1010779] Respect CommandTimeout in first function call w/
string parameter. Added test cases. Thanks Noah Misch for tests.
2010-03-21 23:23 fxjr
* src/Npgsql/NpgsqlCommand.cs:
[#1010780] Reduce use of utility queries for function calls
(CommandType.StoredProcedure) Thanks Noah Mishc for patches (1 of
2):
2010-03-18 Noah Misch <noah.misch @nospam@ channeladvisor.com>
* src/Npgsql/NpgsqlCommand.cs (functionReturnsRefCursor):
Delete
property.
(GetReader): When a function returns a single refcursor
column,
immediately fetch from all those cursors and return that
data.
(GetClearCommandText): Do not call `CheckFunctionReturn' or
`ProcessRefcursorFunctionReturn'.
(CheckFunctionReturn, ProcessRefcursorFunctionReturn): Delete
methods.
2010-03-15 22:45 fxjr
* src/Npgsql/NpgsqlCommand.cs,
testsuite/noninteractive/NUnit20/CommandTests.cs:
[#1010777] String syntax for function call parameters. Thanks
Noah Misch (noah.misch @nospam@ channeladvisor.com) for patch.
2010-03-13 17:16 fxjr
* src/Npgsql.build:
Removed temporarily the runCodeMetrics target from ccnet target
dependencies. Build server is having problems with the metrics
software.
2010-03-02 10:33 fxjr
* src/Npgsql/PGUtil.cs:
Added an small performance improvement by creating a shared
buffer for Int32 and Int16 reading. This way, buffers don't need
to be recreated all the time.
2010-03-01 00:25 fxjr
* src/Npgsql/: NpgsqlQuery.cs, PGUtil.cs:
Readded ability to log the string being written to server. It was
removed in the last optimization (version 1.5) by mistake.
2010-02-19 15:49 fxjr
* Tools/Gendarme/: Gendarme.Framework.dll,
Gendarme.Rules.BadPractice.dll, Gendarme.Rules.Concurrency.dll,
Gendarme.Rules.Correctness.dll,
Gendarme.Rules.Design.Generic.dll,
Gendarme.Rules.Design.Linq.dll, Gendarme.Rules.Design.dll,
Gendarme.Rules.Exceptions.dll,
Gendarme.Rules.Interoperability.dll,
Gendarme.Rules.Maintainability.dll, Gendarme.Rules.Naming.dll,
Gendarme.Rules.Performance.dll, Gendarme.Rules.Portability.dll,
Gendarme.Rules.Security.Cas.dll, Gendarme.Rules.Security.dll,
Gendarme.Rules.Serialization.dll, Gendarme.Rules.Smells.dll,
Gendarme.Rules.Ui.dll, ICSharpCode.SharpZipLib.dll,
Mono.Cecil.Mdb.dll, Mono.Cecil.Pdb.dll, Mono.Cecil.dll, NEWS,
gendarme-wizard.exe, gendarme.1, gendarme.exe:
Reuploaded version from ASPNetProvider.
2010-02-17 23:23 fxjr
* src/Npgsql/NpgsqlCommand.cs:
Added missing comments.
2010-02-17 21:47 fxjr
* src/Npgsql/NpgsqlCommand.cs,
testsuite/noninteractive/add_functions.sql,
testsuite/noninteractive/NUnit20/CommandTests.cs:
Fixed a bug where a function which has a return type of record
but already has the columnlist defined inside itself ( i.e.:
functions with returns table clauses, see
testreturnrecordresultset in the testcases) were being
misinterpreted as needing a column list. Thanks Jan Waiz for
heads up and test case. Added nunit test case to catch this
problem.
2010-02-17 19:23 fxjr
* src/Npgsql2010.csproj:
Added VS.Net 2010 project file generated from vs.net 2008 project
file.
2010-02-15 23:39 fxjr
* src/Npgsql/NpgsqlCommand.cs:
Fixed another commandtimeout problem. This time, creating an
internal Npgsqlcommand was reseting it. See
http://pgfoundry.org/forum/message.php?msg_id=1005814 for more
info. Thanks David Leaver (dave @nospam@ smartrak.co.nz) for
heads up and test case.
2010-02-15 23:33 fxjr
* src/Npgsql/NpgsqlCommand.cs:
Normalized line endings.
2010-02-15 19:08 fxjr
* src/NpgsqlTypes/: NpgsqlDbType.cs, NpgsqlTypesHelper.cs:
Applied patch: [#1010764] Support for abstime (used with postgres
time traver). Thanks Tapio Haapala (tapio.haapala @nospam@
f-solutions.fi) for patch.
2010-02-15 18:34 fxjr
* Tools/Gendarme/: Gendarme.Framework.dll,
Gendarme.Rules.BadPractice.dll, Gendarme.Rules.Concurrency.dll,
Gendarme.Rules.Correctness.dll,
Gendarme.Rules.Design.Generic.dll,
Gendarme.Rules.Design.Linq.dll, Gendarme.Rules.Design.dll,
Gendarme.Rules.Exceptions.dll,
Gendarme.Rules.Interoperability.dll,
Gendarme.Rules.Maintainability.dll, Gendarme.Rules.Naming.dll,
Gendarme.Rules.Performance.dll, Gendarme.Rules.Portability.dll,
Gendarme.Rules.Security.Cas.dll, Gendarme.Rules.Security.dll,
Gendarme.Rules.Serialization.dll, Gendarme.Rules.Smells.dll,
Gendarme.Rules.Ui.dll, ICSharpCode.SharpZipLib.dll,
Mono.Cecil.Mdb.dll, Mono.Cecil.Pdb.dll, Mono.Cecil.dll, NEWS,
gendarme-wizard.exe, gendarme.1, gendarme.exe:
Updated Gendarme toolset. It seems the previous version was
corrupted.
2010-02-15 18:20 fxjr
* src/Npgsql.build:
Fixed build target dependency to include createAssemblyInfo
target. Now, when running build it generates the assemblyinfo.cs
file correctly. Thanks Daniel Nauck for heads up.
2010-02-14 01:14 fxjr
* src/Npgsql.build:
Added a lot of targets to package Npgsql source and binary
distribution. Added target to ccnet.
Added ability to generate AssemblyInfo.cs automatically. In order
to do that, run build.sh (build.bat) -D:CCNetLabel=2.0.9.0 so the
assembly value is set to this label value.
Thanks Daniel Nauck for support and .build sample file.
2010-02-03 19:00 fxjr
* src/: Npgsql.FxCop, Npgsql.build, gendarme.assemblies.txt:
Added configuration files for Gendarme and FxCop. Updated
Npgsql.build files to add the corresponding build targets.
2010-02-03 18:43 fxjr
* Tools/: FxCop/CustomDictionary.xml, FxCop/FxCop.exe,
FxCop/FxCop.exe.config, FxCop/FxCopCmd.exe,
FxCop/FxCopCmd.exe.config, FxCop/FxCopCommon.dll,
FxCop/FxCopSdk.dll, FxCop/FxCopUI.dll, FxCop/MSSp3en.lex,
FxCop/MSSp3ena.lex, FxCop/MSSpell3.dll, FxCop/Microsoft.Cci.dll,
FxCop/Engines/IntrospectionAnalysisEngine.dll,
FxCop/Engines/IntrospectionForms.dll,
FxCop/Repository/system32.bin,
FxCop/Repository/Compatibility/Desktop2.0.xml,
FxCop/Repository/Compatibility/Desktop2.0SP1.xml,
FxCop/Repository/Compatibility/Desktop2.0SP2.xml,
FxCop/Repository/Compatibility/Desktop3.0.xml,
FxCop/Repository/Compatibility/Desktop3.0SP1.xml,
FxCop/Repository/Compatibility/Desktop3.0SP2.xml,
FxCop/Repository/Compatibility/Desktop3.5.xml,
FxCop/Repository/Compatibility/Desktop3.5SP1.xml,
FxCop/Rules/DesignRules.dll, FxCop/Rules/GlobalizationRules.dll,
FxCop/Rules/InteroperabilityRules.dll,
FxCop/Rules/MobilityRules.dll, FxCop/Rules/NamingRules.dll,
FxCop/Rules/PerformanceRules.dll,
FxCop/Rules/PortabilityRules.dll, FxCop/Rules/SecurityRules.dll,
FxCop/Rules/UsageRules.dll, FxCop/Xml/CodeAnalysisReport.xsl,
FxCop/Xml/FxCopReport.xsd, FxCop/Xml/FxCopReport.xsl,
FxCop/Xml/FxCopReportExcludes.xsl,
FxCop/Xml/FxCopRichConsoleOutput.xsl,
FxCop/Xml/VSConsoleOutput.xsl, Gendarme/AUTHORS,
Gendarme/Gendarme.Framework.dll,
Gendarme/Gendarme.Rules.BadPractice.dll,
Gendarme/Gendarme.Rules.Concurrency.dll,
Gendarme/Gendarme.Rules.Correctness.dll,
Gendarme/Gendarme.Rules.Design.Generic.dll,
Gendarme/Gendarme.Rules.Design.Linq.dll,
Gendarme/Gendarme.Rules.Design.dll,
Gendarme/Gendarme.Rules.Exceptions.dll,
Gendarme/Gendarme.Rules.Interoperability.dll,
Gendarme/Gendarme.Rules.Maintainability.dll,
Gendarme/Gendarme.Rules.Naming.dll,
Gendarme/Gendarme.Rules.Performance.dll,
Gendarme/Gendarme.Rules.Portability.dll,
Gendarme/Gendarme.Rules.Security.Cas.dll,
Gendarme/Gendarme.Rules.Security.dll,
Gendarme/Gendarme.Rules.Serialization.dll,
Gendarme/Gendarme.Rules.Smells.dll,