Solutionunvalidated
With `psql`, you could use `\gexec` — The body of the `DO` statement is a dollar-quoted string literal. Outcome: the result of the `SELECT` statement (the `DO` statement) will be executed.
889ba066-affc-43ea-8a60-a8e44e2b3be4
With psql, you could use \gexec — The body of the DO statement is a dollar-quoted string literal. Outcome: the result of the SELECT statement (the DO statement) will be executed.