pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Schaber <schabi@logix-tt.com>
To: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: [Pgjdbc-commit] By jurka: Add some more synchronization to the
Date: Mon, 22 May 2006 09:59:14 +0200
Message-ID: <44716F52.8080202@logix-tt.com> (raw)
In-Reply-To: <20060522040707.37E9811C0611@gborg.postgresql.org>
References: <20060522040707.37E9811C0611@gborg.postgresql.org>

Hi, Till,

CVS User Account wrote:
> Make _pgNameToSQLType static.

>      // pgname (String) -> java.sql.Types (Integer)
> -    private Map _pgNameToSQLType;
> +    private static final Map _pgNameToSQLType;

Are you shure this should be static, and not per connection?

AFAICS, it is possible to have two connections to different databases
having different extension types installed, leading to conflicting maps.

Thanks,
Markus

-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org



Message-ID: <44716F52.8080202@logix-tt.com>
Permalink:  ../44716F52.8080202@logix-tt.com/
Also on:    postgresql.org/message-id/44716F52.8080202@logix-tt.com

 · 

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: schabi@logix-tt.com
  Subject: Re: [Pgjdbc-commit] By jurka: Add some more synchronization to the
  In-Reply-To: <44716F52.8080202@logix-tt.com>
  References: <20060522040707.37E9811C0611@gborg.postgresql.org> <44716F52.8080202@logix-tt.com>

* 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