Francisco Figueiredo Jr. franciscojunior

Organizations

Npgsql
franciscojunior commented on pull request npgsql/npgsql#500
Francisco Figueiredo Jr.

PooledConnector only in the dictionary doesn't work because when a connector is returned to the pool all that is available is the Connector. So us…

franciscojunior commented on issue npgsql/npgsql#473
Francisco Figueiredo Jr.

Hi, @mythz ! I just made some changes as you suggested and added the ability to get the value of Available connectors and Busy connectors. Please, …

Francisco Figueiredo Jr.
  • Francisco Figueiredo Jr. def3a4e
    Improve Npgsql interface to pool internals
franciscojunior commented on pull request npgsql/npgsql#507
Francisco Figueiredo Jr.

I don't see a lot of value in providing stack traces. Not that stack traces are useful, but users can generate them themselves from the callback/e…

franciscojunior commented on pull request npgsql/npgsql#507
Francisco Figueiredo Jr.

Rather than registering Actions, why not use events? No strong reasons. When @mythz suggested the idea he used Actions, and I thought they were e…

franciscojunior commented on pull request npgsql/npgsql#500
Francisco Figueiredo Jr.

I had a look at it but didn't test it yet. With the tests I'm doing with #507 (also see #473), I could confirm the behavior you talked about pool c…

franciscojunior commented on issue npgsql/npgsql#493
Francisco Figueiredo Jr.

Hi, @roji ! I still think it's worth thinking hard before actually switching to an alternative SSL/TLS implementation. With Microsoft's SslStream …

franciscojunior commented on issue npgsql/npgsql#508
Francisco Figueiredo Jr.

Npgsql doesn't seem to support those properties. Npgsql fills Columns collection only. https://github.com/npgsql/npgsql/blob/2.2/Npgsql/Npgsql/Npgs…

franciscojunior commented on issue npgsql/npgsql#476
Francisco Figueiredo Jr.

Guys, any objection to releasing 2.2.5? We have the Redshift issue and another important fix. Anything else someone wants to do before we release? …

franciscojunior commented on issue npgsql/npgsql#473
Francisco Figueiredo Jr.

So there's appears to be a matching Close for reach NewConnector event. Just want to double-check if releasing a db connection multiple times woul…

franciscojunior commented on issue npgsql/npgsql#473
Francisco Figueiredo Jr.

Hi, @mythz ! I just created #507 PR which contains callbacks to new connector, release connector and close connector. I also added a version which …

franciscojunior opened pull request npgsql/npgsql#507
Francisco Figueiredo Jr.
Add callbacks to NpgsqlConnectorPool functions
1 commit with 67 additions and 0 deletions
franciscojunior commented on issue npgsql/npgsql#493
Francisco Figueiredo Jr.

I've made some more tests with npgsql to check how the notifications problem #270 is going with the current code. I can confirm that current master…

franciscojunior commented on issue npgsql/npgsql#493
Francisco Figueiredo Jr.

I remember when I was in my graduation course and EC were something theoretical and now, more than a decade and a half later, Npgsql is able to use…

franciscojunior commented on issue npgsql/npgsql#493
Francisco Figueiredo Jr.

Success!! :) LOG: connection received: host=::1 port=1965 DEBUG: SSL connection from "(anonymous)" LOG: connection authorized: user=npgsql_tests da…

franciscojunior commented on issue npgsql/npgsql#493
Francisco Figueiredo Jr.

TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 Note that when I use the old version of Npgsql.dll which connects to the host, it also says it is using tlsv…

franciscojunior commented on issue npgsql/npgsql#493
Francisco Figueiredo Jr.

This is what I get when running on windows: Unhandled Exception: System.IO.IOException: Unable to write data to the transpor t connection: An exi…

franciscojunior commented on issue npgsql/npgsql#493
Francisco Figueiredo Jr.

I wonder however how many people there are running postgresql on their osx computer and wants to use encrypted connection. Probably those people r…

franciscojunior commented on issue npgsql/npgsql#493
Francisco Figueiredo Jr.

Hmm. I have no idea why Apple bundle such an old version (0.9.8 was released in 2005) in their OS... According to this link: www.eweek.com/securit…

franciscojunior commented on issue npgsql/npgsql#493
Francisco Figueiredo Jr.

According to this post: http://apple.stackexchange.com/questions/126830/how-to-upgrade-openssl-in-os-x It seems the 0.9.8za is the official openss…

franciscojunior commented on issue npgsql/npgsql#493
Francisco Figueiredo Jr.

I'm using openssl from osx. Indeed, from this log I get when I use an old Npgsql.dll library which connects to the server, it seems to be using tlsv1:

franciscojunior commented on issue npgsql/npgsql#473
Francisco Figueiredo Jr.

FYI I hit the max connection limit again and calling NpgsqlConnection.ClearAllPools() was able to resolve it on the remote server without needing …

franciscojunior commented on issue npgsql/npgsql#473
Francisco Figueiredo Jr.

A quick and non-invasive way I use to provide some insight into library implementation is to provide public delegates that (if they're assigned) g…

franciscojunior commented on issue npgsql/npgsql#493
Francisco Figueiredo Jr.

Hi @Emill ! I just tried it here but I got a problem when connecting: Unhandled Exception: System.NullReferenceException: Object reference not set…

franciscojunior commented on issue npgsql/npgsql#473
Francisco Figueiredo Jr.

Em 24/02/2015 18:27, "Demis Bellot" notifications@github.com escreveu: ok great thx, I've added a new service that will let me reset the connectio…

franciscojunior commented on issue npgsql/npgsql#473
Francisco Figueiredo Jr.

Hi, @mythz ! Fortunately for the case of ClearAllPools and ClearPool(NpgsqlConnection), they are already available to you as static methods in Npgs…

franciscojunior commented on issue npgsql/npgsql#473
Francisco Figueiredo Jr.

Hi, @mzabani and @mythz . Unfortunately, we don't have any instrumentation in the connection pool to allow more information to be gather about it. :(…

franciscojunior commented on issue npgsql/npgsql#493
Francisco Figueiredo Jr.

That's awesome, @Emill ! You rock! I'll give it a try and let you know. Thank you very much for your contribution! I think you should definitely c…

franciscojunior commented on issue npgsql/npgsql#372
Francisco Figueiredo Jr.

Giving a lot of reports we receive about timeouts while trying to get a connection from the pool, I was thinking about adding a feature to track c…