Re: Re: JDBC and security

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Barry Lind <barry(at)xythos(dot)com>
Cc: Renato <webmaster(at)cienciapura(dot)com(dot)br>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Re: JDBC and security
Date: 2001-06-29 19:15:55
Message-ID: 200106291915.f5TJFt110528@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

> Since this is the second report of problems with this 'feature' I
> decided to look into this some more. This code isn't even doing
> anything. The shutdownhook gets registered, but it doesn't do anything.
>
> You can safely comment out the ShutdownHook registration and rebuild.
> You can also build with a 1.2 JDK which builds without this feature.
>
> I will submit a patch that removes this 'feature'. I will do this because:
>
> 1) It isn't implemented anyway (the necessary changes to Connection
> where never done).
> 2) It has the problem reported here and previously with running under a
> security manager
> 3) I don't feel there is any real benefit to the functionality provided
> 4) This is the only reason there is a separate jar file created for 1.3
> JDKs. I think the fewer different jar files we have the better. It is
> too confusing to have too many different code bases. There are
> currently different builds for 1.1, 1.2, 1.3 and 1.2enterprise JDKs.
> The 1.1 and 1.2 are necessary because the JDBC spec changed
> significantly between those two releases (i.e. jdbc1 vs jdbc2).

Agreed. If we really need it we can add it later.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message 이주형 2001-06-30 10:16:58 JDBC 2 question --- NoClassDefFoundError in Poolman
Previous Message Bruce Momjian 2001-06-29 17:21:58 Re: [PATCHES] Re: High Memory Usage Patch -- Disregard my last message