Search found 1 match

by zrfisaac
Wed 25 May 2022 19:43
Forum: dbExpress driver for PostgreSQL
Topic: Bug with data type text on postgres
Replies: 1
Views: 8335

Bug with data type text on postgres

Hi!
When I create a new table

Code: Select all

CREATE TABLE IF NOT EXISTS public.SAMPLE
(
    NAME character varying(100) NOT NULL,
    VALUE text 
);
and then use the TSimpleDataSet component with the new drive version
the value from field "VALUE" is written with the value from "NAME"
this only happens because the field is text and delphi recognize as widestring
this works fine on the version 2.1.3 but crash on the version 5.1.1