Bug in dbExpress driver

Bug in dbExpress driver

Postby qadram » Sun 15 Aug 2010 16:52

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.

Posts: 1
Joined: Sun 15 Aug 2010 16:49

Postby bork » Mon 16 Aug 2010 14:08


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)
Devart Team
Posts: 643
Joined: Fri 12 Mar 2010 07:55

Return to dbExpress driver for PostgreSQL