[Lazarus] Port with TPQConnection
Michael Van Canneyt
michael at freepascal.org
Thu Sep 11 20:25:47 CEST 2008
On Thu, 11 Sep 2008, Pavel Řezníček wrote:
> I thought there is some more dynamic way. Still, thank you very much for
> your hint :-)
>
> Maybe I'll add a Port property to TPQConnection. I don't have the latest
> version (and don't plan to download one for a while) so I miss the files
> you specified. Or do these come from an external package?
Try adding
Port=PortNumber
to the params property.
Michael.
>
> Pavel
>
> Juan Cortés Cuesta napsal(a):
> > Use TPSQLDatabase and TPSQLDataset components
> >
> > Edit psqldatabase.pas changing:
> > const
> > PSQLPort = 5432;
> >
> > recompile..... and try again
> >
> > Good Luck
> >
> > Warmest Regards
> > Juan
> >
> >
> > Pavel Řezníček escribió:
> >
> >> Dear Lazarus developers and users,
> >>
> >> is there anyone who would know if and how do I connect to a non-default
> >> port (other than 5432) with the TPQConnection component?
> >>
> >> Thanks a lot.
> >>
> >> Pavel Řezníček
> >> _______________________________________________
> >>
> >>
> >>
> >
> > _______________________________________________
> > Lazarus mailing list
> > Lazarus at lazarus.freepascal.org
> > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
> >
>
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
More information about the Lazarus
mailing list