Re: Connect to PostgreSQL with kylix3 - Mailing list pgsql-general

From Carlos Ojea Castro
Subject Re: Connect to PostgreSQL with kylix3
Date
Msg-id 402CBAF0.1050200@leveltelecom.es
Whole thread Raw
In response to Connect to PostgreSQL with kylix3  (Carlos Ojea Castro <carlosojea@leveltelecom.es>)
List pgsql-general
>
>
>>>>In kylix3 I made a SQLConnection component (called 'SQLConnection1') to
>>>>connect to a PostgreSQL database. I started the PostgreSQL server so
>>>>Object inspector shows 'Connected: True' on that object.
>>>>
>>>>Then I made a SQLDataSet component (called 'SQLDataset1').
>>>>On 'SQLDataset1' I set SQLConnection to 'SQLConnection1', CommandType to
>>>>'ctQuery' and CommandText to 'SELECT * FROM pc104' (pc104 is a valid
>>>>table name).
>>>>But now, when I try to make 'SQLDataset1' Active to 'True', I get this
>>>>error message:
>>>>Access violation at address 43A92782, accessing address 43B09774
>>>>
>>>>
>>>What version of postgres?  If 7.4, then you need to use an older libpq
>>>with kylix.
>>>
>>>
>>YES, my postgres version is 7.4.1.
>>What version of libpq I need to use? (And how could I make de change?)
>>Thank you
>>
>
>in /usr/local/pgsql/lib, change the libpq.so symbolic link to point to
>libpq.so.2.2
>
>klint.
>
>
Thank you, klint.
I made that, but now my SQLConnection component does not connect. When I
try to

make 'SQLConnection1' Active to 'True' I get this message:
dbExpress Error: Invalid Username/Password

Maybe I need another libpq?

Thanks,
Carlos





pgsql-general by date:

Previous
From: Karsten Hilbert
Date:
Subject: Re: inheritance vs performance
Next
From: Andrew Sullivan
Date:
Subject: Re: Quad Xeon vs. Dual Itanium