Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 381AA9FA211 for ; Fri, 26 Oct 2007 07:21:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 87423-04 for ; Fri, 26 Oct 2007 07:20:45 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by postgresql.org (Postfix) with ESMTP id 1C42D9F9263 for ; Fri, 26 Oct 2007 07:20:47 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id j3so667668ugf for ; Fri, 26 Oct 2007 03:20:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; bh=tWd2nkn3Pi3qPk8D3jVPZ+njzC+oJ9FKRfJhAe/umoc=; b=uHEUqRCwJiLFbKU1ahfOosd9FvWc94I2HyJK3c3pXSm/SM3PPaDv4r39LxFQ+2f6wVNnVlLcwG7qIyZhjl6IH99wEsH2SrSt76E3NW0k6FHONidw8/5uzT7725kBjTyHmLHwAQ/FbzwfkiddzPCDJFRkCtuj9INns+dbe/jZnU4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=PMoqIf3ZMS/vocVajMDX2Fr3uGGDy6wuxkuYmUb8j7AFWRJXWYWV4G7EgkygfSS25Y2VEc4O1z3Rp6cur159739TnYMf6loEtbSr3fISkh6xDV76LyA+XSYmBJODbS9sa/RfL4qqYJV/WVmgA6bSYL5DjnVcMS+OeWrgRuEA5B8= Received: by 10.78.170.17 with SMTP id s17mr2139791hue.1193394046289; Fri, 26 Oct 2007 03:20:46 -0700 (PDT) Received: from ?192.168.1.33? ( [86.27.54.116]) by mx.google.com with ESMTPS id h7sm5930401nfh.2007.10.26.03.20.43 (version=SSLv3 cipher=RC4-MD5); Fri, 26 Oct 2007 03:20:45 -0700 (PDT) Message-ID: <4721BF34.80901@enterprisedb.com> Date: Fri, 26 Oct 2007 11:19:32 +0100 From: Heikki Linnakangas User-Agent: Icedove 1.5.0.12 (X11/20070730) MIME-Version: 1.0 To: Sebastien FLAESCH CC: pgsql-hackers@postgresql.org, Guillaume ERGAND Subject: Re: PostgreSQL 8.3, libpq and WHERE CURRENT OF References: <4721BAFE.3080601@4js.com> In-Reply-To: <4721BAFE.3080601@4js.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/1320 X-Sequence-Number: 109688 Sebastien FLAESCH wrote: > Just looked at the new features of 8.3 and realized that positioned > updates/deletes is now possible with this new release... > > We would use that if we could define the cursor name with a libpq function. I don't understand. When you open a cursor with DECLARE CURSOR, you give it a name. Doesn't that do what you want? -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com