Thread: ecpg problem

ecpg problem

From
wlj
Date:

hi!
 
my question is :
how to accomplish this function by ecpg
 
exec sql declare test_curcor cursor for select * form test;//test(id,name)
exec sql open test_curcor;
...
exec sql update test set id=1 where current of test_curcor;
 
the postgresql didn't support this function "... current of "
 
how can i do
my english is poor .
 
thank you !!