Known limitations
This page gathers the limitations FbExpert accepts. They are documented to avoid surprises, not to be worked around with fragile tricks.
Embedded engine
- One process per database: the embedded engine does not allow two applications to open the same file.
gbak,gfixandisqlmust therefore run while FbExpert does not have the database open. - System backup outside a session:
--backup-systemrequires the service to be stopped; that is why the pre-migration backup runs before the database is opened. - No multi-instance on the same database: two FbExpert services must not point to the same
DataDirectory.
Firebird kits
- a database can only be read with the kit matching its ODS;
- 2.5 and 3.0 are end-of-life engines; 6.0 is a pre-release (
--allow-prerelease); - a kit belongs to the
fbexpertaccount: a kit installed as root cannot be read by the service.
UDR
- a native module must be compiled for the target platform: NativeAOT refuses cross-compilation from Windows to Linux;
- a loaded module is not replaced on the fly: restart the service;
- parameters are read by position, not by name (named arguments on the SQL side are still possible);
TEXT_ONLYmode converts the page of a block (memory proportional to the page); HTML mode remains streaming;- in demonstration mode (read-only), a visitor cannot install a module or modify a declaration.
T-SQL compatibility
- the functions listed as "not covered" remain skeletons (
FBEXPERT_NOT_TRANSLATED): they must be adapted by hand; MERGE,FOR XML,TRY_CAST,@@TRANCOUNTand metadata (DB_ID,USER_NAME…) are not translated;YEARDAYandWEEKDAYare not valid units forDATEADD/DATEDIFF;VIEWSdoes not exposeVIEW_DEFINITION, andOBJECT_IDidentifiers are offset by type;- the
MSSQL_SCHEMAcompatibility views use Firebird schemas: they require Firebird 6.0. A compilation targeting 5.0 is explicitly refused (firebird.compile.schema_requires_fb6); compilation follows the catalogue target, a differentExternalAnalysis:TargetVersionis ignored.
External sources
Current state of the workshop:
| Source | Status |
|---|---|
| Firebird 2.5 → 6 | supported |
| SQL Server 14 (2017) and T-SQL 2019 | supported |
| Oracle | to do |
| PostgreSQL | to do |
| Paradox | to do |
| dBase III+ | to do |
| SQLite | to do |
| DB2 | to do |
| MySQL / MariaDB | to do |
New connectors and programmable services (replication, scheduled backups, etc.) are added according to the real needs of installations, not in advance.
Import and migration
- a skeleton is never presented as a success;
- a migration really writes to the target database: test on a copy and back up beforehand;
- triggers are disabled (
INACTIVE) during the load, then re-enabled; - value fidelity is checked on decimals, dates and text, but a type conversion chosen manually remains your responsibility.
- UTF8 index keys are limited by the page size (page/4): a
VARCHAR(450)with theUNICODE_CIcollation (ASP.NET Identity keys) requires at least 16 KB. The blank compilation and the workshop create their databases at 32 KB (16 KB before Firebird 4); for an import target database, choose 16 or 32 KB.
Demonstration
- demonstration mode is read-only by default (
Demo:AllowAdminWrites=false); - IP-based lockout protects the shared account (3 failures / 10 min, 60-minute block) but the counter is held in memory: a restart resets it;
- reverting to the snapshot cuts ongoing sessions;
- public credentials live in
/etc/fbexpert/demo.env, never in the repository.
Site and documentation
- the site is quadrilingual: French (root), Brazilian Portuguese (
/pt/), English (/en/) and German (/de/), with 23 pages translated per language; - each page declares its existing variants in
hreflang(French remains thex-defaultreference); a new page must be translated into the other three languages —npm run docs:i18nchecks it and the build regeneratesllms.txtper language.
Security
- the authentication cookie is
Secure: without HTTPS, the session is not kept (SameAsRequestmode exists for a lab); - behind a remote proxy, the proxy address must be declared (
--trusted-proxy), otherwise the HTTPS scheme and the real client IP are ignored; - anti-forgery and vault keys are in
DataDirectory/keys: deleting them logs everyone out and makes encrypted backups unreadable ifbackup.keydisappears.