Postgresql 12. Want to call function testA() from another function testB(), and assign two "out" values to the 2 local variables. Don't know how to do the assignment, please help.
create or replace function testA(
out outA int,
out outB varchar)
returns record as $$
begin
outA := 100;
outB := '1234';
end; $$ language plpgsql;
create or replace function testB()
returns void as $$
declare aa int; bb varchar;
begin
-- select * from testA(aa, bb);
end; $$ language plpgsql;