I have read in the documentation (http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Defining_Connection_(FireDAC)) that one must set the connection parameter "UnknownFormat" to "BYTEA", to avoid this error. However, I have set that parameter and still get that error.
Details: A simple VCL forms application with an FDConnection and an FDQuery. Tested the FDConnection and set the UnknownFormat parameter to ufBYTEA. Put an SQL select statement in the FDQuery which selects a geometry field from a table. On Execute I get the error.