Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id B5F729FCA2F for ; Fri, 26 Oct 2007 07:08:54 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 85689-06 for ; Fri, 26 Oct 2007 07:08:31 -0300 (ADT) X-Greylist: delayed 00:05:39.432301 by SQLgrey-1.7.5 Received: from mail2007.strasbourg.4js.com (mail2007.strasbourg.4js.com [84.14.60.197]) by postgresql.org (Postfix) with ESMTP id EFA029FCA6A for ; Fri, 26 Oct 2007 07:08:20 -0300 (ADT) Received: from [10.0.0.196] (fox.strasbourg.4js.com [10.0.0.196]) (authenticated bits=0) by mail2007.strasbourg.4js.com (8.13.8/8.13.8/Debian-3) with ESMTP id l9QA2b0b011025 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 26 Oct 2007 12:02:37 +0200 Message-ID: <4721BAFE.3080601@4js.com> Date: Fri, 26 Oct 2007 12:01:34 +0200 From: Sebastien FLAESCH Organization: Four J's Development Tools User-Agent: Thunderbird 1.5.0.9 (X11/20061220) MIME-Version: 1.0 To: pgsql-hackers@postgresql.org CC: Guillaume ERGAND Subject: PostgreSQL 8.3, libpq and WHERE CURRENT OF Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/4598/Fri Oct 26 08:52:26 2007 on mail2007.strasbourg.4js.com X-Virus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/1318 X-Sequence-Number: 109686 Hi hackers, 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. Something similar to ODBC's SQLSetCursorName() function... For now we must use OIDs to emulate WHERE CURRENT OF, but since 8.1, OIDs are no more created by default and require additional configuration when setting up a PostgreSQL server. If I missed something, please point me to the docs where I can find this. Understand this is not an isolated project: We are a Development Tool vendor and have a bunch of customers migrating legacy applications from Informix to PostgreSQL... Thanks a lot! Sebastien FLAESCH Database Interfaces Four J's Development Tools