25.05.2018 15:45, Vlad Khorsun via Firebird-devel wrote:
1. Always reset external connection when it gets out of use. Close connection if
any kind of error happens.

   It actually disables connections pool for pre-v4 remote servers. It could be
done by disabling pool in config.

I think we can be slightly more fine-grained by checking the error code(s).

   And (2) below is exactly about it

Not quite so. External connections can be established to more than one remote server. Disabling pool in config will drop connection reuse even if remote server is v4. Option (2) has the side-effect that may be unexpected to some users and cause more work for support. I would vote for (1). Even if it won't get performance improvements with remote v3 servers but at least it will provide consistent behavior in any environment.


--
  WBR, SD.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to