Subject Re: [firebird-support] Using the same or different client library to connect to Firebird 1.5 and 2.1
Author Mark Rotteveel
On Wed, 22 Aug 2012 17:10:55 -0000, "Nando" <duque.hernando@...>
> Hi,
> I have a network using an application that uses Firebird 1.5. Now I need
> to connect several workstations to another server that has Firebird 2.1
> keeping the choice to connecting to FB 1.5.
> My question is: Can I use the same Firebird 1.5 fbclient.dll library to
> connet to both databases from these workstations? or do I have to use
> different dlls, one to connect to FB 1.5 and another to connect to FB

You can connect using the 1.5 library to Firebird 1.5 and 2.1, just like
you can use the 2.1 library to connect to those same versions. Firebird
uses a versioned protocol, which means that the client and server will
first try to agree on a protocol before they continue, the newer libraries
(and servers) also support older protocol versions.

In general though it is advisable to use the latest client library version
as it might have fixes or improvements in the protocol. In Firebird 2.1
some improvements were added to the protocol to reduce roundtrips, if you
connect to Firebird 1.5 those won't be used, but when you connect to
Firebird 2.1 you will automatically take advantage of those improvements if
you use the 2.1 (or 2.5) client library.