Bug in dbExpress driver

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for PostgreSQL in Delphi and C++Builder
Post Reply
qadram
Posts: 1
Joined: Sun 15 Aug 2010 16:49

Bug in dbExpress driver

Post by qadram » Sun 15 Aug 2010 16:52

Hello,
Just notice that in the latest version of the driver, 1.10.9, there is a bug in the line 2791 of dbexp,

Code: Select all

if not FConnection.CLRHostApp then // to avoid Delphi2006 CLR bug (TWideStringField -> TField.CopyData)
FConnection is not check to be assigned, and that raises an exception.

To reproduce the problem, just try to get the fieldnames of a table:

Code: Select all

    DEVART_POSTGRESQL.GetFieldNames('films', memo1.lines);
If the table contain string type fields, then you get it.

Regards

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Post by bork » Mon 16 Aug 2010 14:08

Hello

Unfortunately, I cannot reproduce this issue. I can get the field name list without any errors. We need additional information:
- the Delphi version that you are using
- the PostgreSQL version that you are using
- the DDL script for creating the "films" table (maybe this error can be reproduced with some special field data type, field name or precision)

Post Reply