Re: JDBC build patches

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Peter Mount <peter(at)retep(dot)org(dot)uk>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: JDBC build patches
Date: 2001-03-12 16:47:48
Message-ID: Pine.LNX.4.30.0103121740130.1047-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc pgsql-patches

Peter Mount writes:

> What's the difference between uninstall and clean?

'clean' undoes 'all', 'uninstall' undoes 'install'.

> >* honour the default port as specified to configure
>
> Hmm, not a good idea. The driver should be as globally useable (part of
> write once run anywhere), so this would be pretty disasterous.

ISTM that if the user actually goes through the trouble of building the
driver himself (as opposed to downloading the jar file) as well as
configuring with a non-standard port (as opposed to configuring the port
at runtime) he probably wants the JDBC driver in on that deal. It also
seems unlikely that he would take this driver and send it to some random
person to make a point about "run anywhere".

> So far our standard has been to use 5432 if no port is supplied.

It's still this way. As I said, only people that use configure
--with-pgport see any change, and those people know what they're getting
into.

> >* allow building outside the source tree
> >(This doesn't actually work, because Ant always puts the build dir
> >relative to the source dir, but at least the whole thing will proceed
> >smoothly when the rest of the tree builds this way.)
>
> You can by passing the base dir in the ant command line using -D
> ant -Ddest=/tmp/dest -Djars=/tmp/jars
> would build unti /tmp/dest and put the jars under /tmp/jars

That's what I thought, but for some reason it always appends the path to
the current directory, even if it's absolute. Might be an old version of
Ant.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message nelson 2001-03-12 17:29:09 JDBC: can't set transaction isolation level
Previous Message Peter Mount 2001-03-12 16:11:08 Re: object id

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Mount 2001-03-12 20:19:03 Re: JDBC build patches
Previous Message Peter Mount 2001-03-12 15:57:49 Re: getTables is this right?