I have a project that has to be developed on a Raspberry Pi 3 device. I am using Lazarus 1.8RC1 and Zeos 7.2.1-RC1. Both built from sources. PostgreSQL is installed using apt-get and running on Raspberry Pi.
I have below table in my database:
Code: Select all
CREATE TABLE malzemeler
(
kodu character varying(20) NOT NULL,
adi character varying(40),
paketiciadet smallint,
kayitzamani timestamp without time zone,
kaydeden character varying(40),
degisiklikzamani timestamp without time zone,
degistiren character varying(40),
secili smallint,
CONSTRAINT malzemeler_pkey PRIMARY KEY (kodu)
)
Code: Select all
select * from malzemeler
Code: Select all
null value in column "kodu" violates not-null constraint
DETAIL: Failing row contains (null, null, null, null, null, null, null, null).
Same problem I can reproduce using 7.1.4 stable package. But I need to use 7.2 latest for PostgreSQL and recently changed transaction behavior.
Any help is appreciated.
Thanks & regards,
Ertan