Bug with data type text on postgres
Posted: Wed 25 May 2022 19:43
Hi!
When I create a new table
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
When I create a new table
Code: Select all
CREATE TABLE IF NOT EXISTS public.SAMPLE
(
NAME character varying(100) NOT NULL,
VALUE text
);
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