Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 2769B2E00FD for ; Thu, 13 Dec 2007 20:19:09 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 32915-07 for ; Thu, 13 Dec 2007 20:19:06 -0400 (AST) Received: from mail.capital-internet.net (mail.capital-internet.net [216.136.66.10]) by postgresql.org (Postfix) with ESMTP id 7FBA62E00EC for ; Thu, 13 Dec 2007 20:19:06 -0400 (AST) Received: from [192.168.11.2] (CPE-70-94-36-108.wi.res.rr.com [70.94.36.108]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.capital-internet.net (Postfix) with ESMTP id 58F6D1A40D31 for ; Thu, 13 Dec 2007 18:18:52 -0600 (CST) Message-Id: From: Tom Duffey To: pgsql-jdbc@postgresql.org In-Reply-To: <4761C700.6060902@opencloud.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: Slow query after upgrades Date: Thu, 13 Dec 2007 18:19:03 -0600 References: <3EB52707-C945-43D6-9B3F-15F3B228D6F6@techbydesign.com> <4761A221.80604@opencloud.com> <1d4e0c10712131358m4bbc3f57t7e33c6c8ad2b3710@mail.gmail.com> <435EC9B4-F3DD-4136-9070-93E0DBB94B3F@techbydesign.com> <1d4e0c10712131452l65841793r449eb3c7cffbf3a5@mail.gmail.com> <0116C2A9-8DB5-4EBE-A66B-BE7F2A11651C@techbydesign.com> <4761BACA.4020008@opencloud.com> <62EFD840-6C75-4220-9CC3-77D35C76403F@techbydesign.com> <4761C700.6060902@opencloud.com> X-Mailer: Apple Mail (2.915) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/106 X-Sequence-Number: 17961 On Dec 13, 2007, at 5:57 PM, Oliver Jowett wrote: > Tom Duffey wrote: > >> Cool, this makes it look like the problem is that the "timestamp" >> parameter as a string instead of a timestamp. What do you think? > > Yep, looks like it. How exactly are you setting that timestamp > parameter? I'm using iBATIS so answering exactly how the parameters get set is tricky, but if this is indeed the problem I'm pretty sure I can take it from here. Thank you for helping get to the bottom of it. Tom