On Tue, Nov 8, 2011 at 11:04 AM, Sylvain Mougenot <smougenot(at)sqli(dot)com> wrote:
> EXECUTE 'INSERT INTO '|| currentTableName || ' values (NEW.*)';
The quotes in the above line are wrong; you want it like:
EXECUTE 'INSERT INTO '|| currentTableName || ' values ' || (NEW.*);
Josh