forked from npgsql/npgsql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
4219 lines (2834 loc) · 146 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
commit 7fbbffca5cd39063739202418131352a00b3820f
Author: Francisco Figueiredo Jr <[email protected]>
Date: Tue Jun 25 13:43:22 2013 -0300
Fix SimpleTransactionScope* tests when running on Mono version below 3.0
Mono below 3.0 doesn't implement the transaction methods and so the code which checks for the added row was incorrectly being run.
commit ff0a4b905e5b0f7a9c505b1ca7c7a366673d358b
Author: Kevin Pullin <[email protected]>
Date: Mon Jun 24 20:43:27 2013 -0700
Reapplied ConnectionStringBuilder caching update
commit c8fe8e544801fad4e8d01d80d8dddaf82a2d8708
Author: Francisco Figueiredo Jr <[email protected]>
Date: Mon Jun 24 14:56:20 2013 -0300
Modified last commit to not use a new connection.
commit 436d5b569050e1461d530bada3361c8b32c402eb
Author: Francisco Figueiredo Jr <[email protected]>
Date: Mon Jun 24 14:33:42 2013 -0300
Fixed SimpleTransactionScope* methods to clean up data left in the tests.
The data left in the tests were giving problems when the tests are run again.
commit 8af98d9965761723dd079adf59e02dad8df71c11
Author: yfakariya <[email protected]>
Date: Sun Jun 9 01:19:44 2013 +0900
Fix ParameterMarkerFormat value of the schema collection is not valid.
Conflicts:
testsuite/noninteractive/NUnit20/ConnectionTests.cs
commit 30bcf4695304cc922c2939723bf1dda325fb3059
Author: Francisco Figueiredo Jr <[email protected]>
Date: Sat Jun 15 22:13:32 2013 -0300
Developers should use NuGet to get EntityFramework.dll assembly for EF6
support.
commit 63af6457c167d93163a772662f9fe8057d866b08
Author: Pēteris Ņikiforovs <[email protected]>
Date: Sat May 4 12:25:00 2013 +0300
Created a new project for Entity Framework 6 which uses the new namespaces
commit e6f6cf78e6b5a278319586604bae191902515a77
Author: Francisco Figueiredo Jr <[email protected]>
Date: Mon Jun 10 22:38:08 2013 -0300
Add connection state change events for close and open. Thanks
https://github.com/pdonald and https://github.com/maxbundchen for the
patch.
Npgsql didn't have connection state change events. According to
maxbundchen: "the EF6 depends on open/close events in some cases (like
update or insert) and Npgsql don't trigger this ones."
https://github.com/franciscojunior/Npgsql2/pull/19#issuecomment-17627188
Added tests about those events.
commit 17ad6263ceae23988a345a503807eab468a5147e
Merge: e3622de 183ed02
Author: Francisco Figueiredo Jr. <[email protected]>
Date: Tue Jun 11 17:34:46 2013 -0700
Merge pull request #24 from yfakariya/fix-policy-dll
Policy DLL on NuGet package is not valid.
commit 183ed021bf59908238d34ef94ea597ba9a34921f
Author: yfakariya <[email protected]>
Date: Tue Jun 11 23:20:54 2013 +0900
Fix policyFileBuild.bat to be runnable in vs2010 dev env.
commit 1f4d6110fb89bb71ba057b9516f6dde1db8ecf22
Author: yfakariya <[email protected]>
Date: Mon Jun 10 00:14:05 2013 +0900
Fix policy-dll is always generated for clr4.
commit e3622de286d876a84869d7ddefdd563256f0ed0e
Author: Francisco Figueiredo Jr <[email protected]>
Date: Mon Jun 3 21:18:59 2013 -0300
Fixed a little typo.
commit ed46f8d1950a5c46ad1f89f833c8c95abe7fa0cb
Author: Francisco Figueiredo Jr <[email protected]>
Date: Sat Jun 1 20:13:51 2013 -0300
Added testcase based on bug report "[#1011085] Money format is not set in
accordance with the system locale format"
commit f51b38cf51472d19a8873d986531359a7de3827c
Author: Francisco Figueiredo Jr <[email protected]>
Date: Sat Jun 1 15:00:40 2013 -0300
Fixes [#1011267] and [#1011085]. Fixes problems with money support.
Negative money support and other bugs were caused by representation format
differences caused by the culture configured for the server. By forcing a
culture agnostic format, we get a consistent behavior. From now on,
Npgsql uses the 'C' locale for monetary.
commit 65fd96a72a63343bc5aae82eb58227f28dc7d032
Author: davidrowley <[email protected]>
Date: Fri May 31 08:45:52 2013 +1200
Tidy up of new test functions
Renamed the 3 new test functions to give them more suitable names. Also
added comment to explain why a domain is created to test the
DataTypeName field. I would have guessed that we could see this
populated by violating a NOT NULL constraint on a table's column, but
this does not seem to be the case.
commit b26a430fba2a52fb460879ee882bce96ae666e3b
Author: davidrowley <[email protected]>
Date: Fri May 31 08:35:21 2013 +1200
Fix missing [Test] clauses from newly added test
Also for the unique violation test I've added some asserts to ensure
that the data type and column name are empty. These are not populated
for unique violations, originally I removed the tests but on after
thought it's probably better to ensure that they're empty strings.
commit ad4a59886d721001e5b5487df627e9652ec1947f
Author: davidrowley <[email protected]>
Date: Thu May 30 13:40:22 2013 +1200
Renamed newly added file and added copyright
Renamed Exception.cs to ExceptionTests.cs and added copyright notice to
the top of the file
commit 0a75dce32d26788a403844b9af221f3100d7dd0d
Author: davidrowley <[email protected]>
Date: Thu May 30 06:47:00 2013 +1200
Fixed wrong assumptions about new Exception Tests
After reading the source code of PostgreSQL9.3, it seem that only
certain errors relating to domain types will populate the DataTypeName
field. This commit adds 2 new tests. 1 to test for the column name, as
the previous uniqueviolation did not show the column name which unique
constraint was violated. Perhaps this has to do with the fact that
unique constraints can exist for >1 column. Test 2 checks the
datatypename after a domain's NOT NULL constraint is violated.
I've not yet run the tests. Though I did compare after setting psql \set
VERBOSITY verbose
commit 99c48ead03fa976720d38722479283e82e6a6389
Author: davidrowley <[email protected]>
Date: Wed May 29 14:57:59 2013 +1200
Adds new test for newly added exception fields
This code is untested as I've not yet worked out how to run the test
suit.
The constant values in the Assert.AreEqual() calls may need tweaked.
The prime purpose of the patch is to test that the fields are properly
being populated. There is no need to also test things like foreign key
violation as its testing the same code in Npgsql.
commit d411ab516516fcefe63fb2d4f8f5827deca35eb3
Author: davidrowley <[email protected]>
Date: Wed May 29 13:25:56 2013 +1200
Add support for new error fields added in PostgreSQL 9.3
This makes the new error information available in the Exception class
which allows the calling code to, for example see which constraint would
be violated by the request.
See PostgreSQL commit message for more details on what extra information
is available and when. This commit only captures the extra information
when it's there.
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=991f3e5ab3f8196d18d5b313c81a5f744f3baaea
commit 8780b65d9a20d47078e4a1605f34e9db98c2ac8a
Author: Francisco Figueiredo Jr <[email protected]>
Date: Thu May 30 12:00:27 2013 -0300
Added [Ignore] to some tests which weren't working. Thanks Shay for
feedback. See Pull Request 18.
A lot of tests were not working and based on Shay's feedback
https://github.com/franciscojunior/Npgsql2/pull/18 those [Ignore] flags
were added in order to get all tests green. Those failing tests were
giving us trouble to identify regressions.
commit 2991fc6dcd284c8ba2aee21dd7766c1fd329c26d
Author: Francisco Figueiredo Jr <[email protected]>
Date: Fri May 24 23:01:49 2013 -0300
Changed NAnt build file to use App.config when running nunit tests. Also
removed a trailing semicolon from the tests settings which was causing
problems.
By making NAnt use App.config file, Npgsql tests run either by NAnt
console project file or by running nunit inside IDE (like Xaramrin
Studio) will use the same file and changes will be reflected in both.
Before that NAnt was using different files.
A trailing semicolon in the app settings config for connection string
was making Npgsql throw exceptions about bad formatting.
commit 3b921ae5671612ec27e0a442c45f43195a169f43
Author: Francisco Figueiredo Jr <[email protected]>
Date: Thu May 23 10:26:38 2013 -0300
Fixed tests when running under mono.
All transaction related tests were failing under Mono. A
NotImplementedException was being raised. Now, those exceptions are
catch and ignored so tests don't return errors.
commit 52952e1dc47b215fb24b0e04c25824c9fce69702
Author: Francisco Figueiredo Jr <[email protected]>
Date: Thu May 23 00:13:02 2013 -0300
Fixed connection tests so they don't start to raise errors about
too many used connections.
Postgresql has a limit of max connections allowed. This fix keeps the
connection usage inside the max value of connections in the pool which
is 20. This way tests won't start raising errors about too many used
connections
commit 1c561096d884047e07febe0d9d5ae3887deeed03
Author: Francisco Figueiredo Jr <[email protected]>
Date: Mon May 20 11:11:20 2013 -0300
Fixed nunit assembly paths of NunitTests2010 project.
commit 52a6e1978d394fcc4b3302141dcc6e22ba47c122
Author: Francisco Figueiredo Jr <[email protected]>
Date: Mon May 13 20:56:49 2013 -0300
Added conditional #ifdef ENTITIES to nunit tests related to EF. See
https://github.com/franciscojunior/Npgsql2/pull/6 for more information.
commit c94a45b19de14e7fe0aa5afbf234e2c4ebcf54a4
Author: Francisco Figueiredo Jr <[email protected]>
Date: Mon May 13 20:49:53 2013 -0300
Fixed more Monodevelop configurations mismatch. Mono-Debug, Release and
Mono-Release. Last fix was only for Debug
commit 488d387c2b523f7cca331851b7a89a646870c3ce
Author: Francisco Figueiredo Jr <[email protected]>
Date: Mon May 13 14:59:35 2013 -0300
Added some paths created by VS.Net to be ignored
commit 6eb3dc29d0cd706c04fc6b8ef42942aede622fc4
Author: Francisco Figueiredo Jr <[email protected]>
Date: Mon May 13 14:48:54 2013 -0300
Fixed configuration mapping between solution file and project files on Monodevelop.
Monodevelop was complaining about configurations mismatch. I redid the configuration matching and everything was ok again.
commit 3c415a7ab32dc4021e8397d156ec881e79e09925
Author: Francisco Figueiredo Jr <[email protected]>
Date: Mon May 13 14:42:15 2013 -0300
Changed project settings to compile a library instead of executable.
commit 20fd444bc9df6f0f91aefa07802d1ec56a6d93ec
Author: Francisco Figueiredo Jr <[email protected]>
Date: Mon May 13 14:38:49 2013 -0300
Merged https://github.com/franciscojunior/Npgsql2/pull/6 from roji.
Pull origin: https://github.com/roji/Npgsql2.git branch xbuild
Original commit message:
Added Mono-Debug and Mono-Release msbuild configuration for use with xbuild
Appears to build just fine! I also tried to muck around with MonoDevelop but it has some trouble with the EmbeddedResources, will try to take a look (less important). This could be a first step for getting rid of both the NAnt and the mdp/mds...
Note that the unit test project doesn't build on Windows, seems like these need to be cleaned up
: error CS2001: Source file xmlModel/XmlTest.ObjectLayer.cs' could not be found
: error CS2001: Source filexmlModel/XmlTest.Views.cs' could not be found
commit 06c3aca239ce16388c6b78b3380832e3c733ee2c
Author: Francisco Figueiredo Jr <[email protected]>
Date: Mon May 13 11:29:52 2013 -0300
Removed a line with a GUID value which was causing problems to be open by Monodevelop.
More info about this problem can be found at: https://github.com/mono/monodevelop/pull/232
commit 3072ed30ec47ca56f473fce42694e5da04a769d8
Author: Francisco Figueiredo Jr <[email protected]>
Date: Sat May 11 14:13:23 2013 -0300
Added Monodevelop per user settings file to list of ignored files.
commit 62afedfd2fe4e5986493270ae817601735243409
Author: Francisco Figueiredo Jr <[email protected]>
Date: Thu May 9 10:53:25 2013 -0300
Added ignored files.
commit 689e9ceeb10bd08b89acc2f32873daf3d7f21a9d
Merge: 3eb3685 59c4735
Author: Francisco Figueiredo Jr. <[email protected]>
Date: Wed May 8 08:19:12 2013 -0700
Merge pull request #17 from roji/bug1011001
[#1011001] More consistent key/value parsing in NpgsqlConnectionStringBuilder.
commit 3eb36852c7091b610e5b2dfc3b82d73a0db2c668
Merge: f3eb384 bc6c3cf
Author: Francisco Figueiredo Jr. <[email protected]>
Date: Wed May 8 07:21:37 2013 -0700
Merge pull request #16 from roji/decouple_pool
Refactored pool/connection + pool timer on demand
commit 59c4735879702cb3f52f0e81ad906bc917fcccc0
Author: Shay Rojansky <[email protected]>
Date: Sat Apr 13 17:47:28 2013 +0300
More consistent key/value parsing in NpgsqlConnectionStringBuilder
.NET's DbConnectionStringBuilder, which NpgsqlConnectionStringBuilder extends,
trims strings values and discards pairs with empty ones. However, NCSB's setter
behaved differently, adding empty strings, leading to inconsistent behavior
(bug #1011001).
Modified NCSB's behavior to be consistent with DCSB - trim and discard empty.
commit 2d130517a32288e9979ec0394a72da12a7ad3dd5
Author: Shay Rojansky <[email protected]>
Date: Sat Apr 13 17:11:21 2013 +0300
Indentation and empty newlines in StringBuilder
commit bc6c3cf2646838bd2c0dfb22bb4d8c77689d427d
Author: Shay Rojansky <[email protected]>
Date: Fri Apr 12 17:30:32 2013 +0300
Refactored pool/connection + pool timer on demand
- Allocating of non-pooling connections was being done
in NpgsqlConnection, moved that code to NpsqlConnection.
- Since the pool's timer was being started statically,
opening a non-pooling connection would start the pool's timer
(bug #1011326).
- The pool's timer is now started on the demand, when a pooled
connection is first requested. When no more connections remain,
the timer is stopped.
commit f3eb38492b3bdcc08858e09c0968a6dccd46815e
Author: fxjr <>
Date: Fri Apr 5 13:19:41 2013 +0000
Added tests for BitString based on bug [#1011321] Wrong BitString value.
commit 557fccd2d94e9f2baa45dce6ea7b1f724cc10eed
Author: fxjr <>
Date: Fri Apr 5 13:09:43 2013 +0000
[#1011321] Wrong BitString value. Thanks Jon Hanna for patch and support.
Jon Hanna also fixed another problem with the constructor of BitString which wasn't handling a case where the number of bits allocated were being rounded up to the nearest multiple of 32. So, to represent 35 bits, BitString was allocating 64. Thanks Jon for this fix.
commit ead830bd431ba5da9ecebf38f2d98c7db2c3348e
Author: fxjr <>
Date: Sun Mar 31 16:33:08 2013 +0000
[#1011325] Escaped strings don't work with EF. Thanks Andrey Polyakov for patch and tests.
Npgsql had a problem when hadling strings with escaped strings. This patch adds the proper syntax in order for this to work correctly. Check https://github.com/franciscojunior/Npgsql2/pull/10 for more info about this fix.
commit fae7f2ca4532ca68f4ed1336d25880798e48c0fd
Author: fxjr <>
Date: Sat Mar 23 16:08:03 2013 +0000
Implements DateTime canonical functions for EntityFramework. Thanks Andrey Polyakov for patch.
See https://github.com/franciscojunior/Npgsql2/pull/10 and https://github.com/magnitudo/Npgsql2/commit/b922eee2839e9cf2ae33f5241e0d8721bb4a9113 for more information.
commit 4dd1a9b7397ef47c96c4b790aa0a9f663a5ff9e8
Author: fxjr <>
Date: Sun Mar 10 17:34:46 2013 +0000
Changed variable name as per patch request.
commit d999e45e4376877494f9c7687430924195280f04
Author: fxjr <>
Date: Sun Mar 10 17:31:05 2013 +0000
[#1011136]
[#1011302]
Applied patch [#1011316] ConnectionTimeout fix, bypass the 2147 seconds limit of Socket.Poll method. Thanks Tasos Mamaloukos for patch.
Npgsql wouldn't allow a timeout higher than 2147 seconds. This patch fixes this limitation.
commit 5d5e42bb1a68ab993ca0a43c81e5fcd79f82ab64
Author: fxjr <>
Date: Wed Feb 27 13:06:29 2013 +0000
[#1011310] Command timeouts after the first are not handled. Applied patch [#1011311]. Thank you, Evan Martin, for bug report and patch!
When a command inside a transaction times out the caller may roll back to a savepoint and try again. This works OK the first time. The second time it appears to work, but the rollback takes a long time. On the third attempt the command returns an empty result set. The attached console app reproduces the problem. On investigation, it appears that Npgsql is not cancelling any command after the first, once NpgsqlConnector.CancelRequestCalled is true.
commit ade62ad43e846fc15d1b5eda51460d496fd9e9b9
Author: fxjr <>
Date: Sat Feb 16 21:40:15 2013 +0000
Applied Shay Rojansky patch. [#1011305] Scope without prepared transactions. Check https://github.com/franciscojunior/Npgsql2/pull/8 for more info.
commit 78ec5ebcf03c7d5572ad2a411eaa594152f2ffc9
Author: fxjr <>
Date: Sun Nov 18 14:23:45 2012 +0000
Fixed possible datareader leak if the test fail. The datareader wouldn't be closed until it was collected.
commit c99438a7e6434cce191c7475057a7b615a1a8b2c
Author: fxjr <>
Date: Sat Nov 10 00:17:28 2012 +0000
[#1011271] NpgsqlSchema: Use InvariantCulture on all return DataTables with schema data.
Thanks Oskar Berggren for patch. Also check https://github.com/franciscojunior/Npgsql2/pull/1 for the patch.
commit 94e64258f882173351975ae92eb068dca5c92582
Author: fxjr <>
Date: Sun Nov 4 23:09:33 2012 +0000
Fixed test data insertion and function creation script. Thanks Shay Rojansky for patches. See https://github.com/franciscojunior/Npgsql2/pull/7 for more information.
commit 142afd74f41f719b54d7e4e54a775e3b2ef17a92
Author: fxjr <>
Date: Fri Sep 14 03:20:59 2012 +0000
Fixed connection leaks.
commit bb771a0c6ba86598c13e3973c4507474030a40af
Author: fxjr <>
Date: Fri Sep 14 03:18:46 2012 +0000
Fixed more connection leaks in the tests.
commit 1f672d3c87eef117acbab3aec589ffba605d478b
Author: fxjr <>
Date: Fri Sep 14 02:36:16 2012 +0000
Fixed more connection leaks in the tests.
Added some more tests.
commit 1a6bd466a47fb179e548181621f54aff4471c572
Author: fxjr <>
Date: Fri Sep 14 02:07:30 2012 +0000
Fixed some connection leaking tests.
Added more datatype tests.
commit 3d476eb8b7496e04d5c82c748d0d49cac42918a1
Author: fxjr <>
Date: Mon Sep 3 01:28:05 2012 +0000
Updated for Npgsql 2.0.12 final release
commit ceac429e807a51449b1ec77f2cef7cb6afe0c6ae
Author: jbcooley <>
Date: Mon Sep 3 01:17:49 2012 +0000
Updated for build 2.0.12.0
commit acd35460225fb311f1af8be3d9c747ba2c9b4859
Author: fxjr <>
Date: Mon Sep 3 01:10:31 2012 +0000
Updated to final 2.0.12 build
commit 3693700ed4119928e5d1fa0c4eba8689b6ca599e
Author: fxjr <>
Date: Tue Aug 7 18:36:37 2012 +0000
[#1011215] AddString in NpgsqlCopySerializer.cs crashes with \ in string. Thanks Jelmer Baas for patch and Panda Răzvan for testing.
commit 09854b3231a849109c0c58da9fbb872a897cade1
Author: fxjr <>
Date: Sat Jul 7 02:44:32 2012 +0000
release notes for .94 release.
commit 57e2f1d67c33cef4d57f6cf5e474e3090a95acbf
Author: fxjr <>
Date: Sat Jul 7 02:33:45 2012 +0000
Added changes for .94 release
commit 4456c9140d71e34e531231af435291937a5c3eb2
Author: fxjr <>
Date: Sat Jul 7 02:28:01 2012 +0000
Changed file for .94 beta release.
commit bef4139dfb0e51e9125db651b90ca3b661f884a9
Author: jbcooley <>
Date: Sat Jul 7 02:20:45 2012 +0000
Updated for build 2.0.11.94
commit df70bd608939bf78b788bf47916d83e0157aedb3
Author: jbcooley <>
Date: Sat Jul 7 02:10:50 2012 +0000
Fix Include combined with Skip and/or Take using linq to entities for bug #1011208
commit 2076f57e03257c033a1ee2c7901fd1be4df5be47
Author: fxjr <>
Date: Wed Jun 6 14:25:20 2012 +0000
[#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.
commit f071d20adc48e2c1557775a02d4fb5f4f2c3a58e
Author: fxjr <>
Date: Fri Mar 23 12:45:45 2012 +0000
[#1011161] Bug in NpgsqlCommand while getting readers from refcursors. Thanks Rabin Karki for heads up and patch.
commit 964635bcb426b094beab3c79c605183a554e4187
Author: fxjr <>
Date: Mon Mar 12 01:59:07 2012 +0000
[#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.
commit 67f3c36aaba591c77ea8317f41ab5c00b50dd060
Author: jbcooley <>
Date: Wed Feb 22 02:40:52 2012 +0000
Updated to Npgsql 2.0.12 beta 3 (2.0.11.93) release.
commit 8259432a4f0fb1c6d9a236115768eec9921ff3c7
Author: fxjr <>
Date: Wed Feb 22 02:39:04 2012 +0000
Updated to Npgsql 2.0.12 beta 3 (2.0.11.93) release.
commit b3cedafa977c96e2258046fedd0a7e9b7d859f67
Author: fxjr <>
Date: Wed Feb 22 02:00:51 2012 +0000
Updated to 2.0.12 beta3 release (2.0.11.93)
commit 0c6258c020644b36de4284713319537af0532b35
Author: fxjr <>
Date: Wed Feb 22 01:49:49 2012 +0000
Added release notes for 2.0.12 beta3 (2.0.11.93)
commit 71904437769d35b30d0a0d1e01f80b64a1fec7fa
Author: jbcooley <>
Date: Wed Feb 22 01:21:53 2012 +0000
adding helper script for building policy dll.
commit a5107dda72f16ebb2281155f8aa8bf11fe1e7390
Author: fxjr <>
Date: Thu Feb 2 13:46:13 2012 +0000
Applied patch #1011157. Fixes bug #1011102 - DateTimeOffset/TimeSpan mapping problem on EF 4.1, .NET 4, using code first.
Thanks Mirko Geffken for patch.
commit 1d24f546a2aa40a82f3afc41e54b133a1e601af7
Author: fxjr <>
Date: Thu Jan 12 18:44:59 2012 +0000
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()
commit 17d1712db8a3fc71364ed1f64ab54d1f1a882c49
Author: fxjr <>
Date: Tue Jan 10 03:14:06 2012 +0000
Fixed tabulation.
commit d02d753ba8c5eec6f57b7ae1b1d8c1b186fb3c1f
Author: fxjr <>
Date: Mon Jan 9 14:48:02 2012 +0000
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.
commit 516355237d71eed3eb022b365dc1a8d2e925e717
Author: fxjr <>
Date: Thu Dec 22 15:08:00 2011 +0000
Fixed line endings.
commit a915ab71a20e2ae1bf731586958a4e548155aea7
Author: fxjr <>
Date: Sat Dec 17 02:42:25 2011 +0000
Fixed line endings.
commit e9bba4ac8ee1ad00592b6a6ab9d512aa1b6f6365
Author: fxjr <>
Date: Sat Dec 17 02:36:17 2011 +0000
Fixed bug [#1011101] LINQ to entities timestamptz does not accept DateTimeOffset or DateTime. Thanks Misha Sugakov for patch and testing.
commit fc6440ca5fe490bff451aecd1c5f58b7bd9c0e4a
Author: fxjr <>
Date: Sat Dec 17 02:01:06 2011 +0000
Added testcase for bug #1011100
commit c9dace8948c3ad1d9cd974c40a1f0f63657c0ebf
Author: fxjr <>
Date: Sat Dec 17 02:00:21 2011 +0000
Fixed line endings.
commit 2e4fcad71f767164b78c5903a3e5aa696dbc878e
Author: fxjr <>
Date: Sat Dec 17 01:58:38 2011 +0000
Fixed a test which were leaking a datareader open.
Added bug tests
Added initial massive datatype testcase.
commit 64be82da4a78eb8565f8e0574369ac274ae0698b
Author: fxjr <>
Date: Tue Dec 13 19:42:33 2011 +0000
Fixed line endings.
commit 9121ee8644e01aba4f986fdf26936e481b198308
Author: fxjr <>
Date: Mon Dec 12 16:27:35 2011 +0000
Fixed line endings.
commit 626d22c820c7e7f67805c153d210598d6722e900
Author: fxjr <>
Date: Fri Dec 9 21:29:13 2011 +0000
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.
commit 1753fad98bf70cd034e659a6a791b6e100972ac1
Author: fxjr <>
Date: Fri Dec 9 21:14:25 2011 +0000
Fixed line endings.
commit 99431df4a4d7aa21648c6c41e0eae39331d4160e
Author: fxjr <>
Date: Fri Dec 9 21:13:08 2011 +0000
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.
commit 2d3bceaad2fef6a10078eee330b81e12958df1cc
Author: fxjr <>
Date: Mon Dec 5 02:00:56 2011 +0000
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.
commit 10569a2b4c23d68373e290b6e3c9373368599d33
Author: fxjr <>
Date: Wed Nov 30 14:19:04 2011 +0000
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.
commit 59d9acaf455452e0cacc6a2d8a4d56acb60942dc
Author: fxjr <>
Date: Tue Nov 29 03:35:15 2011 +0000
Normalized line endings...
commit 2f10971d57ae85981f9859791b971f9ac1934315
Author: fxjr <>
Date: Tue Nov 29 03:25:06 2011 +0000
Normalized line endings....
commit 49f00023a122ed18a029946d25bfff0aee1cd524
Author: fxjr <>
Date: Mon Nov 21 02:44:52 2011 +0000
Fixed Bug1010788UpdateRowSource testcase.
commit 397af45d7722dcbae2df9371050104832cfe969f
Author: fxjr <>
Date: Mon Nov 21 02:04:31 2011 +0000
Fixed some encoding problems detected by Monodevelop.
commit 6a524d579d37271d70629ff59391a3f38d1b1fb7
Author: fxjr <>
Date: Sat Nov 19 04:11:56 2011 +0000
Removed erroneous line added by mistake.
Fixed warning with NpgsqlParameters.Add method. Used AddWithValue.
commit ca3d9c5460425faddd41433b8f085ae2b893683e
Author: fxjr <>
Date: Sat Nov 19 03:43:33 2011 +0000
Fixed problem with file encoding.
commit 187f22f6038658b3ffcd3ffad7ba66929423357c
Author: fxjr <>
Date: Sat Nov 19 03:03:50 2011 +0000
Fix: [#1010992] System.Double to DOUBLE PRECISION conversion bug. Thanks Udo Liess for excellent report, test case and fix.
commit bbdcf1ac8831f1212c1bd0cd5c8d6502475ff67f
Author: fxjr <>
Date: Thu Sep 29 01:55:56 2011 +0000
Updated release notes for beta 2 release.
commit 806df6a320ec2627700c768d49a601f745c907e9
Author: jbcooley <>
Date: Thu Sep 29 01:33:41 2011 +0000
Updated for build 2.0.11.92
commit fb118809aca20cc63b8cb0db58723c294f868d72
Author: jbcooley <>
Date: Thu Sep 29 01:26:59 2011 +0000
Updated for build 2.0.11.92
commit 3a1da4f50e89e3a26023517bcb22fe6075945eb5
Author: jbcooley <>
Date: Thu Sep 29 01:21:04 2011 +0000
Updated for build 2.0.11.92
commit 8a4ea62ab5e942db53bf17ef1910bda252d15b4a
Author: jbcooley <>
Date: Sun Sep 25 16:48:30 2011 +0000
Added XmlTest entity model
commit 011d9f2c7dc5788e442fb7c80b535f1d1c67c0d0
Author: fxjr <>
Date: Mon Jul 11 13:33:20 2011 +0000
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
commit 5d2ddbb9787221a3b4c3d5a23b93ba6457209072
Author: fxjr <>
Date: Tue Jul 5 16:05:55 2011 +0000
[#1011044]. Fixed missing NpgsqlDataReader.GetTimeSpan() method.
Added unit test case to cover this method.
commit 791cf1fc5b0ca561f74bb30637c54553fa1e491d
Author: fxjr <>
Date: Wed Jun 15 16:23:17 2011 +0000
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.
commit 2bb1baf2b54a44bceee2f1e75c4a7d60cb7b4b9c
Author: fxjr <>
Date: Wed Apr 27 13:10:37 2011 +0000
New: [#1011021] Support DbMetaDataCollectionNames.ReservedWords. Thanks Patrick Earl for patch.
commit 48588f2f2c0b1fac674e81fbed880c022fa96046
Author: fxjr <>
Date: Mon Apr 25 02:29:44 2011 +0000
[ npgsql-Bugs-1011018 ] Invalid Cast with DbType.Time Parameter. Thanks Patrick Earl for patch.
Also added test case to reproduce the problem.
commit 7b59ecee841ad5e351e64f6218750b1deecd8d6d
Author: fxjr <>
Date: Thu Apr 7 02:15:21 2011 +0000
[#1010977] Add application_name support to connection string. Thanks Chris Coleman for patch.
commit 4e086b107b5c36f15cf9bbd6bf5c3a7f5bf6dde5
Author: fxjr <>
Date: Thu Apr 7 01:48:49 2011 +0000
[#1011008] Add PhysicalAddress (MAC Address) support to Npgsql. Thanks Gildas for patche and test case.
commit 1b826c538a8586133d6492134c6b0554dbfad979
Author: fxjr <>
Date: Tue Apr 5 14:13:33 2011 +0000
[npgsql-Patches-1011012 ] Australian Date and Time Formats. Thanks Hans Peter for patch.
commit 08f40cd1e408a4d60945cb8912c06f6c9c5259cc
Author: fxjr <>
Date: Fri Mar 25 01:52:42 2011 +0000
Updated release notes for beta1 release of Npgsql 2.0.12 (2.0.11.91)
commit 87ea886ac7a62df1d21443b68b17b61019dcc0d6
Author: jbcooley <>
Date: Fri Mar 25 01:50:24 2011 +0000
updated for 2.0.11.91 beta release
commit 9d400d3e2c456f7700c4e599f0880abcd5625215
Author: jbcooley <>
Date: Fri Mar 25 01:33:08 2011 +0000
updated change log.
commit 35f9032b2fef6185534ed7abcf0303469a69c3a4
Author: jbcooley <>
Date: Fri Mar 25 01:23:28 2011 +0000
Changed from HashSet to Dictionary so we can build a .NET 2.0 profile version.
commit d1e2c1cf7bc4638ad4002c71f1c41b748340f9c4
Author: fxjr <>
Date: Fri Mar 25 00:55:25 2011 +0000
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.
commit f41aa8993a857683953b5aeca90a2fe65e78c938
Author: fxjr <>
Date: Fri Mar 25 00:22:39 2011 +0000
Updated copyright year
commit 181c6153481b83c0a468195a2ed071e4c4d91134
Author: jbcooley <>
Date: Fri Mar 25 00:15:19 2011 +0000
Removed 2005 project and solution as no longer supported
commit 99ae5f7b2f746de6710971d61c3d16d6f40286e8
Author: fxjr <>
Date: Tue Mar 15 01:25:20 2011 +0000
[#1010997] Consider using System.Threading.Timer instead of System.Timers.Timer
Thanks Alex A Ermoshenko for feedback, patch and tests.
commit 84b06dc167931a6063acd72b5338e06804e1bd28
Author: fxjr <>
Date: Tue Mar 15 01:06:20 2011 +0000
[#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.
commit 387dba8e3cb489373455281cf1e9e20abac27757
Author: fxjr <>
Date: Tue Mar 8 15:50:37 2011 +0000
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.
commit 4bc0d0220f73bb2a648ca08d23e520207b48a00b
Author: fxjr <>
Date: Wed Mar 2 00:08:55 2011 +0000
Added patches for connection leaks in tests. Thanks David Leaer.
Added test for double value support.
commit c7582fcc4dc31b885af08cfb2fbab24c7c7f1979
Author: fxjr <>
Date: Tue Mar 1 21:09:28 2011 +0000
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
commit a2be0b5723dae2180c7794742e2a09ead5372c96
Author: fxjr <>
Date: Tue Feb 22 01:30:03 2011 +0000
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.
commit 300e61163a89a5144f8555475f5da56fa85cccf9
Author: fxjr <>
Date: Tue Feb 22 01:17:38 2011 +0000
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.
commit 57ec188d1c7c1712282621b66f52c2bf6a06c2e6
Author: fxjr <>
Date: Sun Feb 6 21:06:05 2011 +0000
Forget to add mail reference for last commit:
http://lists.pgfoundry.org/pipermail/npgsql-devel/2011-February/001117.html
commit 5440df47b1fe6d28d0eba38c1ae708ddfafaa424
Author: fxjr <>
Date: Sun Feb 6 21:00:54 2011 +0000
Added performance patch to GetKeyName method. Thanks Dan Smith for patch.
commit ff8ca206e8f7d888adfaed7e733222b9eb0b165e
Author: fxjr <>
Date: Fri Jan 28 19:04:50 2011 +0000
[#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.
commit 91436ba68c48df60365a2fe47b2e6d32302ebc65
Author: fxjr <>
Date: Thu Dec 16 12:34:56 2010 +0000
Fixed: [#1010951] AllowPartiallyTrustedCallers for npgsql assemblies.
Updated AssemblyInfo.cs to include the fix above and to update assembly version.
commit 33767fd300de91c335eec01875104a0660ed66c6
Author: fxjr <>
Date: Sat Nov 6 00:42:23 2010 +0000
Updated changelog to 2.0.11 release
commit 25930c9535f845d6fe55bcffd9a623fca83cd5eb
Author: fxjr <>
Date: Sat Nov 6 00:33:30 2010 +0000
Updated release notes for 2.0.11 release.
commit e4c4db86fbcaf43b07e724680006111c830410ad
Author: fxjr <>
Date: Sat Nov 6 00:26:05 2010 +0000
Updated AssemblyInfo for 2.0.11.0 release.
commit 364aeb53e3941671ab45ed2261aaaeb6dd858149
Author: jbcooley <>
Date: Sat Nov 6 00:25:30 2010 +0000
Updating for new release
commit 13bdbf32ac4f7f8e0165d20c47e5ce25e0cc607c
Author: fxjr <>
Date: Sun Oct 24 19:32:58 2010 +0000
[#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
commit bcb15efcda6268eb5ff961634cc2ddf2ba6b1293
Author: jbcooley <>
Date: Mon Oct 18 02:47:44 2010 +0000
Bug #1010650 - support metadata for indexes.
commit d3de0e2781f54fa0ee8d960051ab1a954586de42
Author: fxjr <>
Date: Wed Aug 18 03:19:58 2010 +0000
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.
commit 2ad4680ec14a0d3dee20c38f2bcaf37a69b17d7b
Author: jbcooley <>
Date: Mon Aug 9 02:22:31 2010 +0000
Fixes for SQL generation bugs reported in #1010863 and #1010860