X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id DF8865E46D9 for ; Fri, 13 Aug 2004 01:18:47 -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 23466-10 for ; Fri, 13 Aug 2004 04:18:51 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 7D5ED5E37D0 for ; Fri, 13 Aug 2004 01:18:42 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i7D4IlC17044; Fri, 13 Aug 2004 00:18:47 -0400 (EDT) From: Bruce Momjian Message-Id: <200408130418.i7D4IlC17044@candle.pha.pa.us> Subject: Re: "WHERE CURRENT OF" Support in libpq Someday? In-Reply-To: <411C4083.8030106@cogeco.ca> To: "Warren W. Gay VE3WWG" Date: Fri, 13 Aug 2004 00:18:47 -0400 (EDT) Cc: PostgreSQL Interfaces X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/11 X-Sequence-Number: 5059 It arrives when someone codes it, maybe 8.1. I think Fujitsu was going to have someone work on it for 8.1, but I am not sure. --------------------------------------------------------------------------- Warren W. Gay VE3WWG wrote: > I expect that ecpg supports cursors that include functionality > for constructs like: > > UPDATE EMPLOYEES > SET MARRIED = 'T' > WHERE CURRENT OF CURSOR_NAME; > > but this support seems to be absent in libpq. > > Is this being planned for a future release? If so, which > one? > > This is well supported feature by commercial databases (Oracle, > Sybase, Informix to name a few), but I just don't see any hint > of it coming to libpq. > > TIA, Warren. > > -- > Warren W. Gay VE3WWG > http://home.cogeco.ca/~ve3wwg > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073