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: PostGreSQL JDBC <pgsql-jdbc@postgresql.org>
Subject: Re: Avoiding explicit addDataType calls for PostGIS
Date: Tue, 19 Oct 2004 01:57:47 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0410190144280.28027@leary.csoft.net> (raw)
In-Reply-To: <416B63BF.4090304@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>



On Tue, 12 Oct 2004, Oliver Jowett wrote:

> > That is a nice idea that allows to control default configuration without
> > recompiling, and without explicit code in the app.
> 
> Here is a first cut at implementing this.
> 

This generally looks good, but I was hoping Markus would do some of the
serious testing to see if it meets the needs of his real world app.  
Particularly the question about the order the property files are found and
processed in.  Additionally the claim that two applications running on the
same JVM want to use two different mappings, I'm not sure that's possible.

Some simpler questions I had are:

1) Is the name postgresql.properties with no package name a good idea?  It 
doesn't seem ideal for an application to have to create an org/postgresql 
directory just to hold a properties file, but I don't like the idea of 
invading a global namespace.

2) I notice you've set the default prepareThreshold to five as we agreed
to a while ago, but I haven't gotten around to doing.  The reason I
haven't done it yet is because I was concerned about how to do this (and
keep it in sync) for the DataSource implementations.  With this patch it
is impossible to set the prepareThreshold back to zero from the
DataSource.  It would be a simple fix to change the DataSource code to
make this work, but since we're discussing the general ability to set
defaults I thought I'd bring it up.

Kris Jurka



view thread (21+ messages)  latest in thread

Message-ID: <Pine.BSO.4.56.0410190144280.28027@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0410190144280.28027@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0410190144280.28027@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.0410190144280.28027@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>

* 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