Open
Description
What do you want to change?
DECLARE x CURSOR ...
and FETCH n FROM x
are parsed into the ast (I believe) but not currently generated into queries.
See playground: https://play.sqlc.dev/p/c4462bcdfb5324cbc4fb45b11f0f758d8989d0fdb5888e835d7fcb80810f0170
What database engines need to be changed?
PostgreSQL
What programming language backends need to be changed?
Go