Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5Q1iqa29415; Mon, 25 Jun 2001 21:44:52 -0400 (EDT) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.10.1/8.10.1) id f5Q1ifq15332; Mon, 25 Jun 2001 21:44:41 -0400 (EDT) From: Bruce Momjian Message-Id: <200106260144.f5Q1ifq15332@candle.pha.pa.us> Subject: Re: [PATCHES] Re: [ADMIN] High memory usage [PATCH] In-Reply-To: <3B37BF50.8040301@xythos.com> "from Barry Lind at Jun 25, 2001 03:46:40 pm" To: Barry Lind Date: Mon, 25 Jun 2001 21:44:41 -0400 (EDT) CC: pgsql-patches@postgresql.org, "'PostgreSQL jdbc list'" X-Mailer: ELM [version 2.4ME+ PL90 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200106/106 X-Sequence-Number: 851 > resending since I sent it from the wrong email address last time. > > > > Since this patch got applied before I got around to commenting on it, > > I have submitted a new patch to address my issues with the original > patch. > > The problem with the patch as applied is that is always creates the > SimpleDateFormat objects in the constructor of the PreparedStatement > regardless of whether or not they will ever be used in the > PreparedStatement. I have reverted back to the old behavior that only > creates them if necessary in the setDate and setTimestamp methods. Barry, did I miss the actual patch you sent? -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026