Eclipse jdbc postgresql

Started by 纪晓曦over 16 years ago3 messagesgeneral
Jump to latest
#1纪晓曦
sheepjxx@gmail.com

If I want to use postgres with jdbc , I have already download jdbc, do
I need extra option for compile postgres?--with-java?do I need change
postgres.conf?

From iTouch.
z3246339@student.unsw.edu.au
xiaoxi@student.unsw.edu.au

#2John R Pierce
pierce@hogranch.com
In reply to: 纪晓曦 (#1)
Re: Eclipse jdbc postgresql

Sheepjxx wrote:

If I want to use postgres with jdbc , I have already download jdbc, do
I need extra option for compile postgres?--with-java?do I need change
postgres.conf?

you just need postgres configured so you can connect to it via tcp (as
jdbc doesn't do local domain sockets), and you need the appropriate JDBC
jar file for your environment.

the --with-java stuff is for the pljava support, which is a place i'd
personally never want to go.

#3Glyn Astill
glynastill@yahoo.co.uk
In reply to: 纪晓曦 (#1)
Re: Eclipse jdbc postgresql
--- On Tue, 1/9/09, Sheepjxx <sheepjxx@gmail.com> wrote:

If I want to use postgres with jdbc ,
I have already download jdbc, do I need  extra option
for compile postgres?--with-java?do I need change
postgres.conf?

No, you just need the postgres jdbc driver (jdbc.postgresql.org) in your classpath.

Glyn