X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id A820B9FB248 for ; Wed, 12 Jul 2006 07:59:16 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 07897-06 for ; Wed, 12 Jul 2006 07:59:11 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.logix-tt.com (mail.logix-tt.com [212.211.145.186]) by postgresql.org (Postfix) with ESMTP id 4061E9FB201 for ; Wed, 12 Jul 2006 07:59:12 -0300 (ADT) Received: from kingfisher.intern.logix-tt.com (p549D19B7.dip0.t-ipconnect.de [84.157.25.183]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logix-tt.com (Postfix) with ESMTP id CAB79656BB for ; Wed, 12 Jul 2006 13:00:52 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id 83584185B55C8 for ; Wed, 12 Jul 2006 12:59:29 +0200 (CEST) Message-ID: <44B4D610.9010105@logix-tt.com> Date: Wed, 12 Jul 2006 12:59:28 +0200 From: Markus Schaber Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Thunderbird 1.5.0.2 (X11/20060516) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: Limit vs setMaxRows issue References: <44990D57.9070506@sebster.com> <34158.216.41.12.254.1150906222.squirrel@webmail.webopticon.org> <11362.1150908394@sss.pgh.pa.us> <44B34751.7010704@opencloud.com> <44B38164.1040606@opencloud.com> <44B4823B.6010909@opencloud.com> In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200607/46 X-Sequence-Number: 15472 Hi, Marc, Marc Herbert wrote: > Even if you delay the parsing on the first execution in order to wait > for any helpful but late .setMaxRows(), then later .setMaxRows() on > the next re-executions will come after parsing anyway. Unless you > kinda re-parse every time... Only when setMaxRows() actually changes. And theoretically, only re-planning is required, not re-parsing, but currently the server does not allow clients to control those steps independently. HTH, Markus -- Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org