I am getting a strange error on SQL console (Postgres)
DECLARE v_haha varchar(20); // This is where it's happening
v_haha := "haha";
SELECT v_haha;
I'm not a Postgres expert as I am trying to convert my MSSQL scripts to Postgres for some project. But I am slightly confused by this error as the Postgres docs don't seem to mention anything specific about having any cursors.