X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 02765D792D for ; Wed, 5 Oct 2005 05:20:52 -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 88791-08 for ; Wed, 5 Oct 2005 08:20:47 +0000 (GMT) Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by svr1.postgresql.org (Postfix) with ESMTP id B0595D6F63 for ; Wed, 5 Oct 2005 05:20:47 -0300 (ADT) Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 7F23541830F; Wed, 5 Oct 2005 09:20:43 +0100 (BST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mainbox.archonet.com (Postfix) with ESMTP id 98BE115EDA; Wed, 5 Oct 2005 09:18:42 +0100 (BST) Received: from mainbox.archonet.com ([127.0.0.1]) by localhost (mainbox [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11420-02; Wed, 5 Oct 2005 09:18:39 +0100 (BST) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id A3BFE15ED5; Wed, 5 Oct 2005 09:18:39 +0100 (BST) Message-ID: <43438C5F.9070502@archonet.com> Date: Wed, 05 Oct 2005 09:18:39 +0100 From: Richard Huxton User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050912) X-Accept-Language: en-us, en MIME-Version: 1.0 To: andrew@pillette.com Cc: pgsql-sql@postgresql.org Subject: Re: MOVE in SQL vs PLPGSQL References: <200510032057.j93KvFF28447@pillette.com> In-Reply-To: <200510032057.j93KvFF28447@pillette.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.058 required=5 tests=[AWL=0.008, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200510/27 X-Sequence-Number: 22880 andrew@pillette.com wrote: > I can't find a good way to skip over a large number of records in > PLPGSQL (I want to fast-forward and I don't need the I/O of reading > and throwing away hundreds of records.) In SQL, I could just use > MOVE. That doesn't appear to be supported in PLPGSQL?! Help? Andrew - your question doesn't seem to make sense - can you give some more details? Are you having some problem with cursors in plpgsql? -- Richard Huxton Archonet Ltd