Hi, I did not look into this patch in detail yet, but I am +1 for being able to create cursors at the protocol level.
I think this should be allowed for regular cursors as well. One big use-case I see is allowing postgres_fdw to create and fetch from cursors at the protocol level rather than SQL (DECLARE CURSOR, FETCH, etc.) -- Sami Imseih Amazon Web Services (AWS)
