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 EA702D1B18A for ; Wed, 21 Jul 2004 18:08:11 -0300 (ADT) 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 59743-02 for ; Wed, 21 Jul 2004 21:08:04 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id C483ED1B174 for ; Wed, 21 Jul 2004 18:07:52 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=opencloud.com) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1BnOJY-0005Uo-00; Thu, 22 Jul 2004 09:07:48 +1200 Message-ID: <40FEDB21.2040501@opencloud.com> Date: Thu, 22 Jul 2004 09:07:45 +1200 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Jurka Cc: "pgsql-jdbc@postgresql.org" Subject: Re: patch: ensure testdbencoding test table is dropped References: <40FCAE7B.5050504@opencloud.com> <40FCBAA9.8070601@opencloud.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200407/254 X-Sequence-Number: 10638 Kris Jurka wrote: > > On Tue, 20 Jul 2004, Oliver Jowett wrote: > >>It does ~1800 INSERTs -- that's going to take a while with autocommit >>on. Turning autocommit on for that one test adds ~15 seconds to the >>testsuite run on my machine against 7.4. I think 7.3 will be worse. >> > > > Is perhaps this test being a little overzealous. Do we really need to > test every possible code point to determine if it is working or not? > Seems that testing even every 100th code point would be sufficient. Change it if you like -- I did the exhaustive test because it seemed cheap enough. Perhaps you could just increase STEP. Either way, the current CVS testcase still doesn't drop the table when it's done. -O