Subject Re: [firebird-support] Firebird 3 client API to connect FB 2.5 database server
Author Dimitry Sibiryakov
03.01.2018 21:38, Mark Rotteveel mark@... [firebird-support] wrote:
> > Use isc_dpb_config hack.
>
> Which is? Please do not just drop vague hints, but actually provide an
> answer if you know it. Documentation and examples of the new API barely
> exist (or at least, I'm not aware of any).

isc_dpb_config is used in exactly the same way as any other DPB tag: <tag><1 byte value
length><value>. Value for it is a text from firebird.conf file, literally, in form
<param>=<value> separated by new lines.
Because of "hackish" nature of this tag, you'll get no indication if the value is
well-formed and applied or contain mistypes and was silently ignored.

But, actually, client library from Firebird 3.0 should work with server 2.5 "out of
box" without additional configuration.

> If this new API is going to get any use outside of the Firebird
> internals, then real answers will be helpful to fill the void of
> documentation/examples.

At first, DPB is used in old API as well as in new one, no difference between them in
this respect.
At second, I personally think that in current form this new API must never leave internals.

--
WBR, SD.