forked from npgsql/npgsql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
4220 lines (2992 loc) · 139 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
2011-09-29 jbcooley
* src/Npgsql/AssemblyInfo.cs 1.32:
* src/policy.2.0.Npgsql.config 1.10:
Updated for build 2.0.11.92
2011-09-25 jbcooley
* testsuite/noninteractive/NUnit20/App.config 1.4:
* testsuite/noninteractive/NUnit20/NpgsqlTests2010.csproj 1.3:
* testsuite/noninteractive/NUnit20/xmlModel/XmlTest.ObjectLayer.cs 1.1:
* testsuite/noninteractive/NUnit20/xmlModel/XmlTest.Views.cs 1.1:
* testsuite/noninteractive/NUnit20/xmlModel/XmlTest.csdl 1.1:
* testsuite/noninteractive/NUnit20/xmlModel/XmlTest.msl 1.1:
* testsuite/noninteractive/NUnit20/xmlModel/XmlTest.ssdl 1.1:
Added XmlTest entity model
2011-07-11 fxjr
* src/Npgsql/NpgsqlConnection.cs 1.34:
* src/Npgsql/NpgsqlSchema.cs 1.8:
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 fxjr
* src/Npgsql/NpgsqlDataReader.cs 1.24:
* testsuite/noninteractive/NUnit20/DataReaderTests.cs 1.15:
[#1011044]. Fixed missing NpgsqlDataReader.GetTimeSpan() method.
Added unit test case to cover this method.
2011-06-15 fxjr
* src/Npgsql/NpgsqlConnection.cs 1.33:
* src/Npgsql/NpgsqlConnectionStringBuilder.cs 1.16:
* src/Npgsql/NpgsqlConnector.cs 1.35:
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 fxjr
* src/Npgsql/NpgsqlConnection.cs 1.32:
* src/Npgsql/NpgsqlSchema.cs 1.7:
New: [#1011021] Support DbMetaDataCollectionNames.ReservedWords. Thanks Patrick Earl for patch.
2011-04-25 fxjr
* src/NpgsqlTypes/NpgsqlTypesHelper.cs 1.39:
* testsuite/noninteractive/NUnit20/TypesTests.cs 1.11:
[ npgsql-Bugs-1011018 ] Invalid Cast with DbType.Time Parameter. Thanks Patrick Earl for patch.
Also added test case to reproduce the problem.
2011-04-07 fxjr
* src/Npgsql/NpgsqlConnectionStringBuilder.cs 1.15:
* src/Npgsql/NpgsqlConnector.cs 1.34:
[#1010977] Add application_name support to connection string. Thanks Chris Coleman for patch.
* src/NpgsqlTypes/NpgsqlDbType.cs 1.16:
* src/NpgsqlTypes/NpgsqlTypeConverters.cs 1.22:
* src/NpgsqlTypes/NpgsqlTypes.cs 1.15:
* src/NpgsqlTypes/NpgsqlTypesHelper.cs 1.38:
* testsuite/noninteractive/NUnit20/TypesTests.cs 1.10:
[#1011008] Add PhysicalAddress (MAC Address) support to Npgsql. Thanks Gildas for patche and test case.
2011-04-05 fxjr
* src/NpgsqlTypes/NpgsqlTypeConverters.cs 1.21:
[npgsql-Patches-1011012 ] Australian Date and Time Formats. Thanks Hans Peter for patch.
2011-03-25 jbcooley
* src/Npgsql/NpgsqlConnectorPool.cs 1.17:
Changed from HashSet to Dictionary so we can build a .NET 2.0
profile version.
* src/Npgsql.csproj 1.13:
* src/Npgsql.sln 1.6:
Removed 2005 project and solution as no longer supported
2011-03-25 fxjr
* src/Npgsql/AssemblyInfo.cs 1.31:
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.
* src/Npgsql/AssemblyInfo.cs 1.30:
Updated copyright year
2011-03-15 fxjr
* src/Npgsql/NpgsqlConnector.cs 1.33:
* src/Npgsql/NpgsqlState.cs 1.23:
[#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.
* src/Npgsql/NpgsqlConnectorPool.cs 1.16:
[#1010997] Consider using System.Threading.Timer instead of System.Timers.Timer
Thanks Alex A Ermoshenko for feedback, patch and tests.
2011-03-08 fxjr
* src/Npgsql/NpgsqlConnection.cs 1.31:
* src/Npgsql/NpgsqlConnectionStringBuilder.cs 1.14:
* src/Npgsql/NpgsqlConnector.cs 1.32:
* src/Npgsql/NpgsqlPasswordPacket.cs 1.6:
* src/Npgsql/NpgsqlStartupState.cs 1.6:
* src/Npgsql/NpgsqlState.cs 1.22:
* src/Npgsql/PGUtil.cs 1.15:
* src/Npgsql/SSPIHandler.cs 1.3:
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-02 fxjr
* testsuite/noninteractive/NUnit20/CommandTests.cs 1.43:
Added patches for connection leaks in tests. Thanks David Leaer.
Added test for double value support.
2011-03-01 fxjr
* src/Npgsql/NpgsqlConnectorPool.cs 1.15:
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-22 fxjr
* src/Npgsql/NpgsqlReadyState.cs 1.6:
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.
* src/Npgsql/NpgsqlConnector.cs 1.31:
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-06 fxjr
* src/Npgsql/NpgsqlConnectionStringBuilder.cs 1.13:
Forget to add mail reference for last commit:
http://lists.pgfoundry.org/pipermail/npgsql-devel/2011-February/001117.html
* src/Npgsql/NpgsqlConnectionStringBuilder.cs 1.12:
Added performance patch to GetKeyName method. Thanks Dan Smith for patch.
2011-01-28 fxjr
* src/Npgsql/NpgsqlCommandBuilder.cs 1.19:
[#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 fxjr
* src/Npgsql.build 1.22:
* src/Npgsql/AssemblyInfo.cs 1.29:
Fixed: [#1010951] AllowPartiallyTrustedCallers for npgsql assemblies.
Updated AssemblyInfo.cs to include the fix above and to update assembly version.
2010-11-06 jbcooley
* src/policy.2.0.Npgsql.config 1.8:
Updating for new release
2010-11-06 fxjr
* src/Npgsql/AssemblyInfo.cs 1.28:
Updated AssemblyInfo for 2.0.11.0 release.
* RELEASENOTES.txt 1.23:
Updated release notes for 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,
Gendarme/Gendarme.Rules.Ui.dll,
Gendarme/ICSharpCode.SharpZipLib.dll, Gendarme/MIT.X11,
Gendarme/Mono.Cecil.Mdb.dll, Gendarme/Mono.Cecil.Pdb.dll,
Gendarme/Mono.Cecil.dll, Gendarme/NEWS, Gendarme/README,
Gendarme/gendarme-wizard.exe, Gendarme/gendarme.1,
Gendarme/gendarme.exe, Gendarme/rules.xml: Fixed corrupted files
uploaded first time.
2010-02-01 11:54 fxjr
* src/Npgsql.build:
Added a lot of functionality and fixes to Npgsql.build based on
Daniel Nauck AspSQLProvider.build. Thanks Daniel for heads up.
2010-01-31 13:48 fxjr
* src/build.bat:
Fixed backslash for windows .bat :)
2010-01-31 13:40 fxjr
* src/: build.bat, build.sh:
Created helper scripts to build Npgsql with Nant from
commandline. Just call build.sh or build.bat.
2010-01-29 17:46 fxjr
* Tools/NAnt/: CCNetListener.dll, COPYING.txt,
NAnt.CompressionTasks.dll, NAnt.Core.dll, NAnt.DotNetTasks.dll,
NAnt.MSNetTasks.dll, NAnt.NUnit.dll, NAnt.NUnit1Tasks.dll,
NAnt.NUnit2Tasks.dll, NAnt.SourceControlTasks.dll,
NAnt.VSNetTasks.dll, NAnt.VisualCppTasks.dll,
NAnt.Win32Tasks.dll, NAnt.exe, NAnt.exe.config,
NDoc.Documenter.NAnt.dll, NauckIT.NAnt.dll, log4net.dll,
scvs.exe, extensions/common/2.0/NAnt.MSBuild.dll,
extensions/common/2.0/NAnt.MSBuild.xml,
lib/common/1.1/nunit-console-runner.dll,
lib/common/1.1/nunit-console.exe, lib/common/1.1/nunit.core.dll,
lib/common/1.1/nunit.framework.dll,
lib/common/1.1/nunit.util.dll,
lib/common/2.0/nunit-console-runner.dll,
lib/common/2.0/nunit-console.exe, lib/common/2.0/nunit.core.dll,
lib/common/2.0/nunit.framework.dll,
lib/common/2.0/nunit.util.dll,
lib/common/neutral/ICSharpCode.SharpCvsLib.Console.dll,
lib/common/neutral/ICSharpCode.SharpCvsLib.dll,
lib/common/neutral/ICSharpCode.SharpZipLib.dll,
lib/common/neutral/NDoc.Core.dll,
lib/common/neutral/NDoc.Documenter.Msdn.dll,
lib/common/neutral/NDoc.ExtendedUI.dll,
lib/common/neutral/NUnitCore.dll, lib/mono/1.0/NDoc.Core.dll,
lib/mono/1.0/NDoc.Documenter.Msdn.dll,
lib/mono/1.0/NDoc.ExtendedUI.dll, lib/mono/1.0/nunit.core.dll,
lib/mono/1.0/nunit.framework.dll, lib/mono/1.0/nunit.util.dll,
lib/mono/2.0/NDoc.Core.dll,
lib/mono/2.0/NDoc.Documenter.Msdn.dll,
lib/mono/2.0/NDoc.ExtendedUI.dll, lib/mono/2.0/nunit.core.dll,
lib/mono/2.0/nunit.framework.dll, lib/mono/2.0/nunit.util.dll,
lib/net/1.0/NDoc.Core.dll, lib/net/1.0/NDoc.Documenter.Msdn.dll,
lib/net/1.0/NDoc.ExtendedUI.dll,
lib/net/1.0/nunit-console-runner.dll,
lib/net/1.0/nunit-console.exe, lib/net/1.0/nunit.core.dll,
lib/net/1.0/nunit.framework.dll, lib/net/1.0/nunit.util.dll,
lib/net/1.1/NDoc.Core.dll, lib/net/1.1/NDoc.Documenter.Msdn.dll,
lib/net/1.1/NDoc.ExtendedUI.dll, lib/net/1.1/nunit.core.dll,
lib/net/1.1/nunit.framework.dll, lib/net/1.1/nunit.util.dll,
lib/net/2.0/NDoc.Core.dll, lib/net/2.0/NDoc.Documenter.Msdn.dll,
lib/net/2.0/NDoc.ExtendedUI.dll, lib/net/2.0/nunit.core.dll,
lib/net/2.0/nunit.framework.dll, lib/net/2.0/nunit.util.dll:
Added Tools/NAnt to Npgsql2
2010-01-29 01:10 fxjr
* Tools/Gendarme/: AUTHORS, 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, MIT.X11,
Mono.Cecil.Mdb.dll, Mono.Cecil.Pdb.dll, Mono.Cecil.dll, NEWS,
README, gendarme-wizard.exe, gendarme.1, gendarme.exe, rules.xml:
Added Tools/Gendarme to Npgsql2
2010-01-29 00:55 fxjr
* Tools/FxCop/: CustomDictionary.xml, FxCop.exe, FxCop.exe.config,
FxCopCmd.exe, FxCopCmd.exe.config, FxCopCommon.dll, FxCopSdk.dll,
FxCopUI.dll, MSSp3en.lex, MSSp3ena.lex, MSSpell3.dll,
Microsoft.Cci.dll, Engines/IntrospectionAnalysisEngine.dll,
Engines/IntrospectionForms.dll, Repository/system32.bin,
Repository/Compatibility/Desktop2.0.xml,
Repository/Compatibility/Desktop2.0SP1.xml,
Repository/Compatibility/Desktop2.0SP2.xml,
Repository/Compatibility/Desktop3.0.xml,
Repository/Compatibility/Desktop3.0SP1.xml,
Repository/Compatibility/Desktop3.0SP2.xml,
Repository/Compatibility/Desktop3.5.xml,
Repository/Compatibility/Desktop3.5SP1.xml,
Rules/DesignRules.dll, Rules/GlobalizationRules.dll,
Rules/InteroperabilityRules.dll, Rules/MobilityRules.dll,
Rules/NamingRules.dll, Rules/PerformanceRules.dll,
Rules/PortabilityRules.dll, Rules/SecurityRules.dll,
Rules/UsageRules.dll, Xml/CodeAnalysisReport.xsl,
Xml/FxCopReport.xsd, Xml/FxCopReport.xsl,
Xml/FxCopReportExcludes.xsl, Xml/FxCopRichConsoleOutput.xsl,
Xml/VSConsoleOutput.xsl:
Added Tools/FxCop to Npgsql2
2010-01-26 19:34 fxjr
* RELEASENOTES.txt: [no log message]
2010-01-18 00:14 fxjr
* testsuite/noninteractive/NUnit20/CommandTests.cs:
Changed NpgsqlInet test method name to better explain it.
Added NpgsqlTimeStamp test.
2010-01-18 00:06 fxjr
* src/Npgsql/SSPIHandler.cs:
Added a fix for 64 bits windows. The type of the SecHandle
structure was hardcoded to int 32 bit int values which was giving
problems on 64 bits windows. Now uses an architecture
independente pointer type. Thanks Brar Piening for patch and
heads up.
2010-01-16 13:05 fxjr
* testsuite/noninteractive/NUnit20/CommandTests.cs:
Added a test for Europe/Amsterdam timezone with dates before
1937. Those timezones had minuts and seconds on it. Check
http://lists.pgfoundry.org/pipermail/npgsql-devel/2010-January/001054.html
for more information. Thanks Christ Akkermans for heads up and
test.
2010-01-10 23:58 fxjr
* src/Npgsql/NpgsqlCommand.cs,
testsuite/noninteractive/NUnit20/CommandTests.cs:
Added a fix for caseinsensitive parameter names in query strings.
Thanks Antonio Leiva for the patch!
Added test case for this bug.
Also added a pending testcase for NpgsqlInet types returned from
NpgsqlDataReader.GetValue(). This test is not working yet because
of pending fixes in Npgsql. But the test is ok.
2010-01-08 00:32 fxjr
* src/NpgsqlTypes/DateDatatypes.cs,
testsuite/noninteractive/NUnit20/TypesTests.cs:
[#1010746] NpgsqlDate.AddMonths(m): IndexOutOfRangeException, if
new date in following year. Applied patches: [#1010747]
Correction of NpgsqlDate.AddMonths(m), if new date in following
year. Thanks Gildas (prime.gildas @nospam@ gmail.com) for patch
and testcase. Also thanks Sibylle Koczian (nulla.epistola
@nospam@ web.de) for patch reviewing and testing.
2009-12-28 18:23 jbcooley
* src/Npgsql/PGUtil.cs: need to read in chunks so the socket
doesn't run out of memory in recv the network stream doesn't
prevent this and downloading a large bytea will throw an
IOException with an error code of 10055 (WSAENOBUFS) This is a
fix for bug reported in 1005719.
2009-12-28 01:35 fxjr
* RELEASENOTES.txt:
Added release notes for 2.0.8 release.
2009-12-28 01:11 fxjr
* ChangeLog:
Updated for Npgsql 2.0.8 release
2009-12-28 00:41 jbcooley
* src/: Npgsql/AssemblyInfo.cs, policy.2.0.Npgsql.config: Updated
for build 2.0.8
2009-12-27 16:51 jbcooley
* src/Npgsql/SqlGenerators/: SqlBaseGenerator.cs,
SqlDeleteGenerator.cs, SqlInsertGenerator.cs,
SqlSelectGenerator.cs, SqlUpdateGenerator.cs,
VisitedExpression.cs: Initial support for bug fix reported in
message 1005698. The fix changes valid sql that produced
incorrect results to sometimes valid sql that produced correct
results when valid. Also contains work in progress to resolve
the invalid sql.
2009-12-27 16:44 jbcooley
* src/Npgsql/NpgsqlProviderManifest.cs: Initial .NET code
2009-12-21 01:19 jbcooley
* src/Npgsql/SqlGenerators/: SqlBaseGenerator.cs,
SqlSelectGenerator.cs: Fixed two bugs with Entity Framework SQL
generation: [#1010727] Entity framework exception if null
inserted in XML column Changed null handling so that the value is
only type cast when used in a select clause. [#1010673] syntax
error in queries generated by entity framework 2.0.6 ms.net sp1
Changed the filter handling to better work when subqueries in
joins.
2009-12-20 00:33 fxjr
* docs/UserManual.html:
Fixed manual to show examples using NpgsqlDbType instead of
DbType. Using DbType is only provided for backwards
compatibility. NpgsqlDbType is the prefered way to specify
paramter types.
2009-12-20 00:15 fxjr
* src/Npgsql/NpgsqlState.resx:
[#1010687] Spelling error in NpgsqlCommand Object command timeout
exception. Fixed.
2009-12-19 13:30 fxjr
* src/Npgsql/NpgsqlParameterCollection.cs,
testsuite/noninteractive/NUnit20/CommandTests.cs:
Added method AddWithValue and made Add(String, object) obsolete
and this was causing ambiguity problems with Add and NpgsqlDbType
and DbType. See
http://pgfoundry.org/tracker/index.php?func=detail&aid=1010714&group_id=1000140&atid=590
and
http://pgfoundry.org/tracker/index.php?func=detail&aid=1010715&group_id=1000140&atid=592
for more details. Thanks Gildas (prime.gildas @nospam@ gmail.com)
for heads up and discussion about that. Note that the issue of
adding a new method which takes a DbType parameter is not
finished yet. We should check if this is still needed.
2009-12-13 22:45 fxjr
* src/NpgsqlTypes/DateDatatypes.cs:
Added support to parse "-infinity" and "infinity" date values.
2009-12-13 01:27 jbcooley
* src/Npgsql/AssemblyInfo.cs: No longer the 2.0.7 release build.
Change version number so that compatibility flag can be used.
2009-12-13 01:26 jbcooley
* src/Npgsql/NpgsqlTransaction.cs: Support Snapshot Isolation level
correctly.
2009-12-13 01:25 jbcooley
* src/: NpgsqlTypes/NpgsqlTypesHelper.cs,
Npgsql/NpgsqlDataReader.cs: Support for provider specific types
(with compatibility flag on change to NpgsqlInterval)
2009-12-13 01:23 jbcooley
* src/NpgsqlTypes/DateDatatypes.cs: Support casting time values to