Closed ibarwick closed 6 years ago
Fixed; it now does this:
postgres=# insert into fb_instest values(1,'なんじゃこれあ');
ERROR: [firebird_fdw]
DETAIL:
[firebird_fdw] isc_dsql_execute() error
[firebird_fdw] Dynamic SQL Error
[firebird_fdw] arithmetic exception, numeric overflow, or string truncation
[firebird_fdw] string right truncation
(not as elegant as it could be, but much better than crashing the server)
Table definitions:
Insert attempts:
Firebird counts bytes, not characters?
This should at least result in an error being raised by Firebird and handled by the FDW; direct insert attempt: