Skip to main content

Posts

Npgsql2 RC2 Released!!

Hi all! It's a great pleasure to say that Npgsql2 RC2 is released. From release notes: This version contains some fixes and updates for latest entity framework release. We are already in feature freeze and not so many things were added this time. Highlights include: Npgsql2 rc2 now supports .NET 3.5 sp1 with Entity Framework support. We support model generation by the command line edmgen.exe tool. This requires the Npgsql be registered in the provider section of machine.config. A lot of fixes were done on connection pool handling. Also, when running under Mono, Npgsql wasn't using connection pool. Now it is. We added some code to better handle threadabort when executing queries with Npgsql. It isn't perfect but is much better than with previous versions. Grab it from http://downloads.npgsql.org Thank you everybody who helped with bug reports, comments and patches!

Committed fix to make Npgsql use Pool when running under Mono

Yes, you read it right, Npgsql wasn't using connection pool when running under Mono!! The problem seemed to be that Npgsql was using one key to get a connection to pool and another one to return it back. The issue is that although it is wrong, those two values were supposed to be the same. You can see here and here bug reports about it. Well, the fix is already on cvs, so if you were using Npgsql on Mono, you should definitely give it a try so you can see if your code works ok. Sorry for this problem. Later I will bring a full analysis of what can be the problem.

Stream seek error

Hi all! Since Npgsql RC1, we started to receive some error reports about problems when closing connections. The typical stack trace looked like this: System.NotSupportedException : This stream does not support seek operations. at System.Net.Sockets.NetworkStream.Seek(Int64 offset, SeekOrigin origin) at System.IO.BufferedStream.FlushRead() at System.IO.BufferedStream.WriteByte(Byte value) − at Npgsql.NpgsqlQuery.WriteToStream(Stream outputStream) in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlQuery.cs:line 62 − at Npgsql.NpgsqlReadyState.QueryEnum(NpgsqlConnector context, NpgsqlCommand command) in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlReadyState.cs:line 64 − at Npgsql.NpgsqlConnector.ReleasePlansPortals() in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlConnector.cs:line 373 − at Npgsql.NpgsqlConnectorPool.UngetPooledConnector(NpgsqlConnection Connection, NpgsqlConnector Connector) in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlConnectorPool.cs:line 541 − at Npgsql.NpgsqlConnectorPool.ReleasePooledConnector(NpgsqlConn...

Server donation received!

Hi all! Today, Npgsql received a server donation from a person who prefers to remain anonymous. With it, we will be able to provide nightly builds as well as a continuous integration build service. We are thinking about using CruiseControl.Net Thank you very much for the donation!

Pé quebrado - Broken foot

Olá, pessoal! Ontem eu quebrei o meu pé descendo as escadas!! Tristeza total. :( Vou ficar 30 dias com gesso e esperar pelo melhor. A parte boa disso é que eu vou ter mais tempo para o Npgsql e para ver TV :) ------------- Hi, all! Yesterday I broke my foot while I was going down the stairs!! Absolute sadness :( I'm going to stay 30 days in plaster e hope for the best. The good part of all this is that I'll have more time for Npgsql and to watch TV :)

Npgsql2 RC1 Released!

Hi, all! It's a great pleasure to say Npgsql Development Team made a new release of Npgsql2. We are closer to the final release! On the highlights, thanks to Josh Cooley, we have support for newer version of EntityFramework 3.5sp1beta. Another highlight is that we fixed the cast problem some people had when using Npgsql2 beta4. Now, Npgsql will only use casts if the user explicitly specify a DbType or NpgsqlDbType value. Also, thanks Andreas Schönebeck, who provided us with testcases and feedback, we have a much better threadabortexception handling. Those exceptions were making Npgsql be instable and sometimes unusable. Please, if you had any problem, give RC1 a try and help us to improve Npgsql for final release. Other changes can be seen in our changelog . Donwload Npgsql2RC1 from our usual place Thank you to all who helped us with this release with feedback, bug fixes, bug reports and comments.