Powerful, nice done.
But in the documentation i think you forget to add info about the PgDataTypeMapUni unit. Without that unit the pgNumeric in your documentation wont work. Also some "pg" looks like they are missing, like pgVarchar.
We have quite a lot of clientdatasets where i don't want to change every fielddef from ftString to FtWIdechar and i need to programatically set the correct Data Type Mapping. By a lot of trial and error, like creating the Data Type Mapping in dfm and checking it i found that the code for varchar was 221. The syntax for mapping a Varchar to a ftString is also not documented. By more trial and error i did find it to be
Code: Select all
DataTypeMap.AddDBTypeRule(221,ftString);
I can also see that the lack of documentation about this was communicated five years ago.
viewtopic.php?t=31780
I find that a bit strange, it can hardly take more time to fix that then to read this. But it will take a lot more time for everybody to one and one invent the wheel over and over again.