On Tue, 29 Dec 1998, Constantin Teodorescu wrote:
> It may be a silly question, but ...
>
> How do I specify in Java that JDBC should getConnection with a
> PostgreSQL running on another machine ?
> Something like 'host:port:jdbc:postgresql:database' ?
Close ;-)
jdbc:postgresql://host/database
or
jdbc:postgresql://host:port/database
--
Peter T Mount peter(at)retep(dot)org(dot)uk
Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
Java PDF Generator: http://www.retep.org.uk/pdf