Postgresql – When to use `EXECUTE` in a PL/pgSQL function?
I created person table, then inserted 2 rows into it as shown below: CREATE TABLE person ( id INT, name VARCHAR(20), age INT ); INSERT INTO person (id, name, age) VALUES (1, 'John', 27), (2, 'David', 32); Then with an…