*** pgsql/doc/src/sgml/ecpg.sgml 2010/01/26 09:10:11 1.94 --- pgsql/doc/src/sgml/ecpg.sgml 2010/01/26 14:21:29 1.95 *************** *** 1,4 **** ! <application>ECPG</application> - Embedded <acronym>SQL</acronym> in C --- 1,4 ---- ! <application>ECPG</application> - Embedded <acronym>SQL</acronym> in C *************** EXEC SQL GET DESCRIPTOR mydesc VALUE 1 : *** 2652,2658 **** record from the resultset. EXEC SQL include sqlda.h; ! sqlda_t *mysqlda; EXEC SQL FETCH 3 FROM mycursor INTO DESCRIPTOR mysqlda; --- 2652,2658 ---- record from the resultset. EXEC SQL include sqlda.h; ! sqlda_t *mysqlda; EXEC SQL FETCH 3 FROM mycursor INTO DESCRIPTOR mysqlda; *************** struct sqlname *** 2933,2939 **** there is no FREE cursor_name statement in ECPG. This is because in ECPG, DECLARE CURSOR doesn't translate to a function call into the runtime library that uses to the cursor name. This means that there's no runtime ! bookkeeping of SQL cursors in the ECPG runtime library, only in the PostgreSQL server. --- 2933,2939 ---- there is no FREE cursor_name statement in ECPG. This is because in ECPG, DECLARE CURSOR doesn't translate to a function call into the runtime library that uses to the cursor name. This means that there's no runtime ! bookkeeping of SQL cursors in the ECPG runtime library, only in the PostgreSQL server.