https://remp3indir.net/postgres-plsql-execute-dynamic-sql/
postgres plsql execute dynamic sql