X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 0A8F7D1B9BD for ; Fri, 5 Sep 2003 21:10:27 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 28163-03 for ; Fri, 5 Sep 2003 18:09:56 -0300 (ADT) Received: from bob.samurai.com (bob.samurai.com [205.207.28.75]) by svr1.postgresql.org (Postfix) with ESMTP id ED563D1B53A for ; Fri, 5 Sep 2003 18:09:55 -0300 (ADT) Received: from 6-allhosts (d226-85-166.home.cgocable.net [24.226.85.166]) by bob.samurai.com (Postfix) with ESMTP id 516131E3E; Fri, 5 Sep 2003 17:09:55 -0400 (EDT) Subject: Re: SELECT's take a long time compared to other DBMS From: Neil Conway To: Relaxin Cc: PostgreSQL Performance In-Reply-To: References: Content-Type: text/plain Message-Id: <1062796189.447.9.camel@tokyo> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Fri, 05 Sep 2003 17:09:49 -0400 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/107 X-Sequence-Number: 3473 On Fri, 2003-09-05 at 14:18, Relaxin wrote: > Expect that the Declare/Fetch only creates a forwardonly cursor, you can go > backwards thru the result set. No, DECLARE can create scrollable cursors, read the ref page again. This functionality is much improved in PostgreSQL 7.4, though. -Neil