Обсуждение: "WHERE CURRENT OF" Support in libpq Someday?

Поиск
Список
Период
Сортировка

"WHERE CURRENT OF" Support in libpq Someday?

От
"Warren W. Gay VE3WWG"
Дата:
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



Re: "WHERE CURRENT OF" Support in libpq Someday?

От
Bruce Momjian
Дата:
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,
Pennsylvania19073