Re: [INTERFACES] How to connect with JDBC to another machine ? - Mailing list pgsql-interfaces

From Peter T Mount
Subject Re: [INTERFACES] How to connect with JDBC to another machine ?
Date
Msg-id Pine.LNX.4.04.9812292009540.8386-100000@maidast.retep.org.uk
Whole thread Raw
In response to How to connect with JDBC to another machine ?  (Constantin Teodorescu <teo@flex.ro>)
List pgsql-interfaces
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@retep.org.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


pgsql-interfaces by date:

Previous
From: Constantin Teodorescu
Date:
Subject: How to connect with JDBC to another machine ?
Next
From: Peter T Mount
Date:
Subject: New version of JDBC driver