By my friend asking, for convenience, support to define multi variables in single PL/pgSQL line.
Like this:
CREATE OR REPLACE FUNCTION try_mutlivardef() RETURNS text AS $$ DECLARE local_a, local_b, local_c text := 'a1----'; BEGIN return local_a || local_b || local_c; end; $$ LANGUAGE plpgsql;