postgresql_16:7.1.97.5 Compatibility
PostgreSQL 16 > Reference > SQL Commands > DECLARE > Compatibility
The SQL standard allows cursors only in embedded SQL and in modules. PostgreSQL permits cursors to be used interactively.
According to the SQL standard, changes made to insensitive cursors by UPDATE ... WHERE CURRENT OF and DELETE ... WHERE CURRENT OF statements are visible in that same cursor. PostgreSQL treats these statements like all other data changing statements in that they are not visible in insensitive cursors.
Binary cursors are a PostgreSQL extension.