Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 38379 invoked by uid 500); 27 Dec 2002 15:30:50 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 38364 invoked from network); 27 Dec 2002 15:30:49 -0000 Message-ID: <3E0C71F9.8020509@dff.st> Date: Fri, 27 Dec 2002 16:30:01 +0100 From: Torsten Curdt User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016 X-Accept-Language: de-de, en-us, en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: Change in for postgresql References: <36717.10.0.0.1.1040871671.squirrel@ags01.agsoftware.dnsalias.com> <37505.10.0.0.1.1040889855.squirrel@ags01.agsoftware.dnsalias.com> <39438.10.0.0.1.1040944136.squirrel@ags01.agsoftware.dnsalias.com> <1040948705.939.12.camel@defiant.dff.local> <39811.10.0.0.1.1040954735.squirrel@ags01.agsoftware.dnsalias.com> In-Reply-To: <36717.10.0.0.1.1040871671.squirrel@ags01.agsoftware.dnsalias.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > This is why I started thinking about this issue and suggested the > workaround. I think the solutions is not too ugly because is better to get > 5 rows in a resultset than 8,000 or more, just to get the row number 5 and > trigger the tag. Thanks for reporting, Antonio. I've had a closer look. I think you are right. It's not too bad. If one uses the esql:row-count tag (which is an additional count query) it wouldn't be necessary to get another row because we know about the total number rows of the result. But since I don't wanna force to have a count query for everyone using the more-results tag I think we are better off with the additional row - as you proposed. I added this to the javadocs and all the different database query implementations. Please crosscheck and report back if it works for you. -- Torsten --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org