In PG UPDATE/DELETE WHERE CURRENT OF work even if no row has been fetched from the cursor, in XC at least one FETCH is necessary.
This limitation is because of the way cursors are implemented in XC.
This is specific notice for XC that application should FETCH first to update/delete WCO. Documentation update is required and leave this as XC specific.
Q3: would like to be included in the next minor release.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
PG document says we need at least one fetch to WHERE CURRENT OF. In reality, PG allows WHERE CURRENT OF without fetching any.
May consider to write this explicitly in some of the documents.
This is specific notice for XC that application should FETCH first to update/delete WCO. Documentation update is required and leave this as XC specific.
Q3: would like to be included in the next minor release.