X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 505A28B9ED8 for ; Thu, 10 Feb 2005 21:08:56 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 99474-10 for ; Thu, 10 Feb 2005 21:08:44 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 2DC1C8B9C91 for ; Thu, 10 Feb 2005 21:08:45 +0000 (GMT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1CzLYB-0002oh-00; Fri, 11 Feb 2005 10:08:35 +1300 Message-ID: <420BCD50.1000608@opencloud.com> Date: Fri, 11 Feb 2005 10:08:32 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0 (X11/20041228) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Jurka Cc: Vadim Nasardinov , pgsql-jdbc@postgresql.org Subject: Re: Crystal Reports / PostgreSQL References: <200502101244.09593@vadim.nasardinov> <200502101425.20852@vadim.nasardinov> In-Reply-To: X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/74 X-Sequence-Number: 12254 Kris Jurka wrote: > > On Thu, 10 Feb 2005, Vadim Nasardinov wrote: > > >>Out of curiousity though, what makes it error-prone? >> > > > Any ad-hoc parsing is easy to get wrong by forgetting corner cases. I'm > not saying it can't be done correctly, just that we shouldn't bother. Especially given that different JVMs format stack traces differently, and Throwable.getStackTrace() is allowed to omit stack frames. I think setting a DriverManager log writer is the simplest solution here, closely followed by making notImplemented() take a method name arg. -O