I have a function in my Postgres 8.3 database that takes a "key" variable as argument.
I want to call this function for a range of key values.
I tried this, didn't work ...
BEGIN
for i IN 773..775 LOOP
test_count(i);
end LOOP;
end;
SQL error:
ERROR: syntax error at or near "for"
LINE 2: for i IN 773..775 LOOP
didn't workis not a valid Postgres error message.