[Lazarus] SQLdb PQConnection Port

Michael Van Canneyt michael at freepascal.org
Fri Aug 7 09:53:18 CEST 2009



On Fri, 7 Aug 2009, Giuseppe Luigi Punzi wrote:

> Hi,
>
> El vie, 07-08-2009 a las 08:50 +0200, Michael Van Canneyt escribió:
>
>>
>> On Thu, 6 Aug 2009, Giuseppe Luigi Punzi Ruiz wrote:
>>
>>> Hi,
>>>
>>> It's possible to change the port of a TPQConnection?
>>>
>>> I have postgress installed on 5433 (instead 5432), but I can't find where to
>>> change this.
>>
>> Add something like
>> port=5433
>> to the params property.
>
>
> I tried yesterday, but, I got an Access Violation, when I changed
> "Connected" to true. I opened "Params" again, and was in blank, and
> lazarus become unstable.

Nevertheless, what I described above is how it should be done.
There seems to be an additional problem on your machine. What
it is, I do not know.

Can you try to set the properties and do a connection at runtime, 
and then see what the stack backtrace says ?

Michael.


More information about the Lazarus mailing list