> 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
  [EMAIL PROTECTED]               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

Reply via email to