Hi to the list.
I am experimenting the features of lazarus, so I made a small program for reading from a PostgreSQL database.
It happens the following problem:
Fields of type "text" are shown as (blob)
Fields of type "real" are mis-interpreted values E-315 !!
Others fields appear correctly.
My program uses :
Datasource1: TDatasource;
DBGrid1: TDBGrid;
psqlprova: TPQConnection;
Query1: TSQLQuery;
Transazione1: TSQLTransaction;This is what psql correctly shows.
------------------
test=# SELECT call, name, qth, dxcc, qso_date, time_on, band, distance, freq FROM qso;
call | name | qth | dxcc | qso_date | time_on | band | distance | freq --------+---------+---------+------+------------+----------+-------+----------+---------- Dummy | | | | 2000-01-01 | | 20m | | I1BRT | Carlo | | 248 | 2009-10-05 | 19:30:00 | 600m | 10234 | 0.555542 IK1CHE | Alberto | Andrate | 248 | 2002-10-14 | 19:56:50 | 2190m | 10234 | 0.135546 YV4AB | | | 148 | 2009-12-21 | 22:43:07 | 20m | 13199 | 14.2 CO2NO | | | 70 | 2009-12-21 | 22:52:15 | 20m | 5918 | 14.2 (5 rows)
----------------
The attached .png shows what my program represents.
Thanks for your suggestions.
Pino
