how to declare
declare my_cursor refcursor;
in ecpg library postgresql how to fetch data from postrges refcursor into c language local varia