Postgres Fields are marked ReadOnly

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Locked
sandeep_c24
Expert Boarder
Expert Boarder
Posts: 158
Joined: 06.11.2005, 01:43

Postgres Fields are marked ReadOnly

Post by sandeep_c24 »

I am using Zeos from trunk to connect to Postgres 8.4. When I open TZquery all fields are marked as ReadOnly. I am not sure what is going, has anyone else seen this problem?

Regards

Sandeep
seawolf
Zeos Dev Team *
Zeos Dev Team *
Posts: 385
Joined: 04.06.2008, 19:50
Contact:

Post by seawolf »

Could be a problem related to the user right you are using to connect to pg?

Have you recently updated Zeos libs or PG?
trupka
Expert Boarder
Expert Boarder
Posts: 140
Joined: 26.08.2007, 22:10

Post by trupka »

Never encountered something like this (Delphi 7-2010, Pg8.3 - 9.0).
Are you using joins in SQL?
mrLion
Senior Boarder
Senior Boarder
Posts: 71
Joined: 20.03.2010, 10:17

Post by mrLion »

sandeep_c24, may be you are open View? :)
sandeep_c24
Expert Boarder
Expert Boarder
Posts: 158
Joined: 06.11.2005, 01:43

Post by sandeep_c24 »

I spent some time debugging it and the problem is in caused because my sql command was like

select * from Bill

but the table name is "bill". Data is retrieved but the postgres metadata sql uses "like" to get the column info and that's why the fields were marked readonly.

Sandeep
Locked