Firebird 4.0 will introduce 2 new data types that are not (yet) supported by Zeos. Firebird 4.0 Beta 2 introduces a new DPB for handling these situations: isc_dpb_set_bind. I suggest to bind DECFLOAT and timestamp / time with timezone to legacy until we support the new data types.
The way to use this new dpb is described in https://github.com/FirebirdSQL/firebird/blob/master/doc/sql.extensions/README.set_bind.md.
Opinions?
Done already. Duplicate to #341,#342