Skip to main content

Last activities about Npgsql....

Hi all!

It's been a long time since my last post.

I've been a little bit busy those days (or it's better say: months!) but I'm catching up with Npgsql bugs little by little.

Today I fixed a bug which was making Npgsql to not return the correct number of rows affected by an update when using DataAdapter.Update() method. This bug was floating around for a long time! Thanks Christian for the heads up and testcase!

Some weeks ago, I played with another bug which was causing the famous "stream doesn't support seek operations" exception. It turned out that that the large object api isn't handling errors correctly which is letting data on the stream which causes the problem. I have an ugly workaround for this which is simply flush the stream before trying to write to it again. I sent a message to Npgsql dev list explaining this issue with more details.

That's it for while. I'll be hunting down the remaining bugs and will post progress here.

Comments

Anonymous said…
Here are some power leveling rules to ensure your account security,rights and interests. runescape accounts Inventory Safety We will NOT remove your pre-existing items and gold when we are on your account to do power leveling. runescape gold We will NOT respond to incoming tells by fellow players to maintain the confidentiality of your character during power leveling process
Anonymous said…
I can get LOTRO Gold cheaply.
Yesterday i bought Lord Of The Rings Gold for my brother.
i hope him like it. i like the cheap Lord Of The Rings Gold very much.
I usuallybuy LOTRO Gold and keep it in my store.


I can get ro zeny cheaply,
Yesterday i want to buy ragnarok zenyfor my brother.
i hope him like it. i will buy iro zeny for him
as birthday present. i like the ragnarok online zeny very much.
I usually buy cheap zeny and keep it in my store.
Anonymous said…
If you wish to buy runescape to explore other spell books, you should subscribe as a Fun Orb member. runescape gold of RS Online Game, we have made several changes to Fun Orb. Shattered Plans - a galaxy-spanning strategy epic that use rs gold to allow up to six players to battle for supremacy. We only plan to pay cheap rs gold when we feel you will appreciate the updates. And we certainly feel that these changes and some runescape money are worth telling you about.
One very common item bought with cheap SOF gold at the store would be a pet. The Gameim.com is offering you with Scions Of Fate money and all kinds of cheap game gold. Scions Of Fate gold is sometimes need to pay for in this Scions of Fate game. For example in this game, we have to buy sof gold to exchange premium in order to protect our character. The only part of this game will require you to pay SOF gold but they are optional for you to choose in the premium store.
Anonymous said…
Do you know the dofus kama, in the game you need the kamas. It can help you increase your level. My friends always asked me how to buy dofus kamas, and I do not know he spend how much money to buy the dofus gold, when I see him in order to play the game and search which the place can buy the cheap kamas. I am happy with him.
Do you know the Asda Story gold,in the game you need the Asda Story money. It can help you increase your level. My friends always asked me how to
buy Asda Story Gold, and I do not know he spend how much money to buy the
Asda Story gold, when I see him in order to play the game and search which the place can buy the
cheap Asda Story gold. I am happy with him.
discount hotels said…
I really liked your blog! You have some great content. Please come visit my site Motelhotel Business Directory when you got time.
Anonymous said…
Awesome article, definitely liked the info provided. Just subscribed to your blog. Great stuff! . I am new to seo, trying to visit more seo blogs for guides and tips. You can be friends with me. Please come visit my site Modesto Yellow Page Business Directory when you got time. Thanks.
Anonymous said…
Nice blog design. This seems like it would be a very interesting blog to keep up with. Please come visit my site Fremont Yellow Page Business Directory when you got time.
Anonymous said…
Wow! Thank you! I always wanted to write in my site something like that. Can I take part of your post to my blog? Please come visit my site Boston Directory when you got time.
Anonymous said…
Wow! Thank you! I always wanted to write in my site something like that. Can I take part of your post to my blog? Please come visit my site Boston Massachusetts MA when you got time.
Anonymous said…
Wow! Thank you! I always wanted to write in my site something like that. Can I take part of your post to my blog? Please come visit my site Boston Business Phone Book when you got time.
Anonymous said…
This is just another reason why I like your website. I like your style of writing you tell your stories without out sending us to 5 other sites to complete the story. Please come visit my site Phone Book Directory San Jose when you got time.
Anonymous said…
This is just another reason why I like your website. I like your style of writing you tell your stories without out sending us to 5 other sites to complete the story. Please come visit my site Social Networking In San Jose California CA when you got time.
Anonymous said…
Really great work. Congrats to everyone who are involved with this project. The website layout and graphics are really cool. Please come visit my site Madison Community Video Library when you got time.
Anonymous said…
Really great work. Congrats to everyone who are involved with this project. The website layout and graphics are really cool. Please come visit my site Madison Yellow Pages United States when you got time.

Popular posts from this blog

UUID datatype and COPY IN/OUT support added to cvs

Hi all! It was just added support to uuid datatype in cvs head. This type will be available in next Postgresql release 8.3. Thanks to David Bachmann for his patch! You can get more info about this patch in this mailing list post . Also was added support for copy in and copy out operations. Now, users can provide streams which can be copied directly to and from Postgresql tables! Thanks to Kalle Hallivuori for providing a patch! Thanks to Truviso for giving support to Kalle. More info about that including a demo and ready to use compiled Npgsql.dll versions can be found here . That's it! As soon as we get more features added, I will post info about them here. Stay tuned! :)

Using Entity Framework 6 with Npgsql 2.1.0

UPDATE (2014-05-19): Marek Beneš noticed a problem in the default connection factory config. It is fixed now. Thanks, Marek! UPDATE (2014-02-20): I created a new post explaining how to get Npgsql 2.1.0. Although this post is about EF 6, I'd like to talk about our current situation to support both EF 6 and EF4.x which explain why there are some subtle changes between EF 4.x and EF 6.x App.config settings.  Support for EF versions 4.x and 6.x Sometime after we started to work on Npgsql 2.1.0, we started to add code to support EF6 and decided to reorganize our Entity Framework support code. Shay created a pull request to organize this change and isolate the EF code out of core Npgsql code. The result was the creation of two separated assemblies: Npgsql.EntityFramework.dll for EF6 and above; Npgsql.EntityFrameworkLegacy.dll for EF4.x. Only when using Npgsql with EF6 you will need to reference Npgsql.EntityFramework.dll assembly. This is needed because the EF

Initial EF-6 support added to Npgsql

In my last post , I said there is a pull request by Pēteris Ņikiforovs to add support for EF-6 to Npgsql. Yesterday, I merged this pull request to the master branch of Npgsql . With this merge, Npgsql has officially initial support for EF-6! How to compile For now, in order to compile Npgsql to use EF-6, you have to open the solution file NpgsqlEF6.sln. Later,  as suggested by Pēteris Ņikiforovs , the idea is that we create a new configuration inside main project solution instead of maintain 2 separated projects. Another thing you will need to compile Npgsql is the latest release of EntityFramework assembly through NuGet: PM> Install-Package EntityFramework -Pre That's it! Now you will be able to play with Npgsql and EF-6. Check out my previous post about how to use Npgsql with EntityFramework. I'd like to thank Pēteris Ņikiforovs for his patch. And maxbundchen for his patch about Open/Close events needed for EF-6. Please, give it a try and let me know how it