I want to execute several pgScript directly from the pgAdmin editor interface.
FOR i IN 1..10 LOOP PRINT i;
But I always got
[ERROR ] 1.0: syntax error, unexpected character
I also tried to wrap the code with do $$ ... $$ , but does not solve the problem.
plpgsql postgresql pgadmin
davidshen84
source share