Type mapping Char -> Memo

Discussion of open issues, suggestions and bugs regarding PgDAC (PostgreSQL Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
nickbarnes
Posts: 18
Joined: Mon 18 Nov 2013 01:37

Type mapping Char -> Memo

Post by nickbarnes » Fri 14 Feb 2014 06:57

I have a connection-level type map set up for pgText -> ftString.

In some cases, I need to keep a specific field as ftMemo. But if I try to do this via AddFieldNameRule('FieldName', ftMemo), I get the error 'Unsupported data type mapping: "Character(8191)" to "Memo"'. The reason for this is clear: the corresponding OnDemandConverters are commented out in CRDataTypeMap.pas.

Are there any plans to add support for this mapping? Is there any other way to do this?

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Type mapping Char -> Memo

Post by AlexP » Fri 14 Feb 2014 10:33

Hello,

There is no such functionality at the moment. We plan to implement this feature in one of the next versions. We cannot tell the exact terms of this feature implementation yet.

nickbarnes
Posts: 18
Joined: Mon 18 Nov 2013 01:37

Re: Type mapping Char -> Memo

Post by nickbarnes » Fri 14 Feb 2014 21:42

OK, thanks Alex!

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Type mapping Char -> Memo

Post by AlexP » Wed 19 Feb 2014 06:55

If you have any further questions, feel free to contact us.

Post Reply