Re: [JDBC] Ant installation (and other) issues!

2001-10-22 Thread Gunnar Rønning
* Tom Lane <[EMAIL PROTECTED]> wrote: | | Gunnar =?iso-8859-1?q?R=F8nning?= <[EMAIL PROTECTED]> writes: | > But anyway this off topic, what need to have is a build process that works | > nicely and I think including the ant binaries(around 500k) would be the | > best solution here. | | 500k of

Re: [JDBC] FW: Re: [PATCHES] Ant configuration

2001-10-22 Thread Tom Lane
Barry Lind <[EMAIL PROTECTED]> writes: > If we can include the ANT libraries in our CVS then my > objection to ANT (requiring users to trackdown and download ANT) goes > away, and I would then suggest we continue to use ANT for the other > reasons you mention. The sheer bulk of the ANT libraries

Re: [JDBC] Ant installation (and other) issues!

2001-10-22 Thread Bruce Momjian
> Gunnar =?iso-8859-1?q?R=F8nning?= <[EMAIL PROTECTED]> writes: > > But anyway this off topic, what need to have is a build process that works > > nicely and I think including the ant binaries(around 500k) would be the > > best solution here. > > 500k of binaries? You just lost the argument.

Re: [JDBC] Does PG's JDBC support prepared statements at all?

2001-10-22 Thread Thomas O'Dowd
On Sun, Oct 21, 2001 at 02:06:21PM +0200, Rene Pijlman wrote: > On Sun, 21 Oct 2001 11:37:29 +0900, you wrote: > >So I guess what is happening is that the preparedstatement parser > >ignores quoted question marks > > I hope not. I hope it sets the field to a literal '?' :-) I meant ignores them

Re: [JDBC] Ant installation (and other) issues!

2001-10-22 Thread Ned Wolpert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22-Oct-2001 Bruce Momjian wrote: > A more important point is that we are not a java-only codebase. If we > were, I could see a stronger argument for Ant. As it is now, we have to > weigh using a Java-standard Ant vs. a PostgreSQL/C-standard make

[JDBC] JDBC build - take 2

2001-10-22 Thread Marko Kreen
Here is updated patch: * fixed couple of typos. * installdirs and uninstall targets * converted contrib/retep to make too, now no parts of PostgreSQL source _require_ Ant. * made the JUnit tests work too -- marko Index: configure.in ==

Re: [JDBC] Ant installation (and other) issues!

2001-10-22 Thread Tom Lane
Gunnar =?iso-8859-1?q?R=F8nning?= <[EMAIL PROTECTED]> writes: > But anyway this off topic, what need to have is a build process that works > nicely and I think including the ant binaries(around 500k) would be the > best solution here. 500k of binaries? You just lost the argument. That's not a

Re: [JDBC] FW: Re: [PATCHES] Ant configuration

2001-10-22 Thread Bruce Momjian
> If we can include the ANT libraries in our CVS then my > objection to ANT (requiring users to trackdown and download ANT) goes > away, and I would then suggest we continue to use ANT for the other > reasons you mention. > > Does anyone know if we could include ANT into our CVS and redistribute

Re: [JDBC] FW: Re: [PATCHES] Ant configuration

2001-10-22 Thread Barry Lind
If we can include the ANT libraries in our CVS then my objection to ANT (requiring users to trackdown and download ANT) goes away, and I would then suggest we continue to use ANT for the other reasons you mention. Does anyone know if we could include ANT into our CVS and redistribute it in order

Re: [JDBC] Ant installation (and other) issues!

2001-10-22 Thread Marko Kreen
On Sat, Oct 20, 2001 at 03:54:12PM +0200, Per-Olof Norén wrote: > Hi all, > I have been listening to the discussions about Ant and the build system. > I think that the discussion is missing a point, which I will try to make here :-) [ points for using Ant ] I would describe current JDBC build to

Re: [JDBC] Ant installation (and other) issues!

2001-10-22 Thread Gunnar Rønning
* Peter Eisentraut <[EMAIL PROTECTED]> wrote: | | Per-Olof Norén writes: | | > The Ant build system is making its way to be a "de facto" standard for building |java applications as | > it is built for the purpose. | | Make as been the standard for building any application for about 30 years. |

Re: [JDBC] Ant installation (and other) issues!

2001-10-22 Thread Bruce Momjian
> Per-Olof Nor?n writes: > > > The Ant build system is making its way to be a "de facto" standard for building >java applications as > > it is built for the purpose. > > Make as been the standard for building any application for about 30 years. > GNU-style configure has been the standard for co

Re: [JDBC] Ant installation (and other) issues!

2001-10-22 Thread Barry Lind
Per-Olof Norén wrote: > Hi all, > > I have been listening to the discussions about Ant and the build system. > > I think that the discussion is missing a point, which I will try to make > here :-) > > > > 1. Standard > > The Ant build system is making its way to be a "de facto" standard

OT Re: [JDBC] Ant installation (and other) issues!

2001-10-22 Thread Ned Wolpert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21-Oct-2001 Peter Eisentraut wrote: > Per-Olof Norén writes: >> The Ant build system is making its way to be a "de facto" standard for >> building java applications as it is built for the purpose. > > Make as been the standard for building any ap

Re: [JDBC] Whatever ... JDBC build patch

2001-10-22 Thread Ned Wolpert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20-Oct-2001 Peter Eisentraut wrote: >> How do distributors that need to build all driver types proceed ? > > I haven't seen one yet, but theoretically they should configure several > different build trees from one source tree. Of course, this do

Re: [JDBC] Ant installation (and other) issues!

2001-10-22 Thread Peter Eisentraut
Per-Olof Norén writes: > The Ant build system is making its way to be a "de facto" standard for building java >applications as > it is built for the purpose. Make as been the standard for building any application for about 30 years. GNU-style configure has been the standard for configuration ma

Re: [JDBC] [PATCHES] Ant configuration

2001-10-22 Thread Ned Wolpert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20-Oct-2001 Gunnar Rønning wrote: >| * Ant doesn't provide an exit status; you have to watch the build to see >| if it works. This is unacceptable. > > Hmm. Anybody with a solution here ? Actuall, it does. Example: [wolpert@wolpert configTest

Re: [JDBC] Whatever ... JDBC build patch

2001-10-22 Thread Marko Kreen
On Sat, Oct 20, 2001 at 04:15:56AM +0200, Gunnar Rønning wrote: > * Marko Kreen <[EMAIL PROTECTED]> wrote: > | > | * driver type is researched in configure, which is the > | right place for it. > > How do distributors that need to build all driver types proceed ? > > Compile for each platform

Re: [JDBC] Does PG's JDBC support prepared statements at all?

2001-10-22 Thread Rene Pijlman
On 20 Oct 2001 23:14:22 -, you wrote: >There is a bunch of documentation for prepared statements in PG's >JDBC, it seems that the only thing prepared statements do is throw >exceptions. I suggest you read some basic JDBC documentation. This is really not PostgreSQL specific. Checkout http://w

Re: [JDBC] PreparedStatement parameters question

2001-10-22 Thread Rene Pijlman
On 20 Oct 2001 22:34:05 -, you wrote: >PreparedStatement st = db.prepareStatement("UPDATE foo SET ? = '?' " + > "WHERE number = ?"); > >Whenever I use this I get a "Parameter index out of range" error. > >I am assuming that what this means is that I can't use a ? as a column >n

Re: [JDBC] Does PG's JDBC support prepared statements at all?

2001-10-22 Thread Rene Pijlman
On Sun, 21 Oct 2001 11:37:29 +0900, you wrote: >So I guess what is happening is that the preparedstatement parser >ignores quoted question marks I hope not. I hope it sets the field to a literal '?' :-) Regards, René Pijlman <[EMAIL PROTECTED]> ---(end of broadcast)

Re: [JDBC] Does PG's JDBC support prepared statements at all?

2001-10-22 Thread Dave Cramer
Remove the single quotes from '?' there is no need for them. Dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Dr. Evil Sent: October 20, 2001 7:14 PM To: [EMAIL PROTECTED] Subject: [JDBC] Does PG's JDBC support prepared statements at all? There i