pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Markus Schaber <schabios@logi-track.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Avoiding explicit addDataType calls for PostGIS
Date: Mon, 8 Nov 2004 04:54:39 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0411080450100.22119@leary.csoft.net> (raw)
In-Reply-To: <418F3B19.9000708@opencloud.com>
References: <20041006181653.4fc83924@kingfisher.intern.logi-track.com>
	<41645F7A.2040106@opencloud.com>
	<20041007104603.78af41f3@kingfisher.intern.logi-track.com>
	<416B63BF.4090304@opencloud.com>
	<Pine.BSO.4.56.0410190144280.28027@leary.csoft.net>
	<417588E7.7020205@opencloud.com>
	<20041103122816.1c6ab2de@kingfisher.intern.logi-track.com>
	<418939E6.7030602@opencloud.com>
	<20041104113056.5a906179@kingfisher.intern.logi-track.com>
	<Pine.BSO.4.56.0411080331420.11414@leary.csoft.net>
	<418F3340.306@opencloud.com>
	<Pine.BSO.4.56.0411080400340.11414@leary.csoft.net>
	<418F3B19.9000708@opencloud.com>



On Mon, 8 Nov 2004, Oliver Jowett wrote:

> Kris Jurka wrote:
> 
> > Let me be more clear.  I like the properties file method for configuring 
> > external libraries (postgis), but I don't like it for configuring the 
> > driver itself.  Specifically consider your addition of prepareThreshold=5, 
> > suppose I wanted to override this setting with my own properties file.  
> > Then I'd have to be real careful about how I setup my classpath.
> 
> Ah, ok.
> 
> Currently, if someone wants to change a default, they have to either 
> modify the driver source and recompile, or remember to override the 
> built-in default in every single URL ever used.
> 
> If the default is stored in a properties file packaged with the driver, 
> they can tweak the default by editing that properties file, which seems 
> much easier.

We're getting closer to understanding each other.  I've just committed
a version of this patch that reads all available 
org.postgresql.driverconfig.properties files and uses them to set any 
defaults.  My whole point is that I did not want to put a 
driverconfig.properties file in postgresql.jar because we don't need to 
and it will only create potential problems.

Kris Jurka



view thread (21+ messages)  latest in thread

Message-ID: <Pine.BSO.4.56.0411080450100.22119@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0411080450100.22119@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0411080450100.22119@leary.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, oliver@opencloud.com, schabios@logi-track.com
  Subject: Re: Avoiding explicit addDataType calls for PostGIS
  In-Reply-To: <Pine.BSO.4.56.0411080450100.22119@leary.csoft.net>
  References: <20041006181653.4fc83924@kingfisher.intern.logi-track.com> <41645F7A.2040106@opencloud.com> <20041007104603.78af41f3@kingfisher.intern.logi-track.com> <416B63BF.4090304@opencloud.com> <Pine.BSO.4.56.0410190144280.28027@leary.csoft.net> <417588E7.7020205@opencloud.com> <20041103122816.1c6ab2de@kingfisher.intern.logi-track.com> <418939E6.7030602@opencloud.com> <20041104113056.5a906179@kingfisher.intern.logi-track.com> <Pine.BSO.4.56.0411080331420.11414@leary.csoft.net> <418F3340.306@opencloud.com> <Pine.BSO.4.56.0411080400340.11414@leary.csoft.net> <418F3B19.9000708@opencloud.com> <Pine.BSO.4.56.0411080450100.22119@leary.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox