On Mon, Aug 30, 2021 at 09:34:46AM -0230, Roger Mason wrote:
> > Can you provide whole, testable sql script? With create table, and test
> > insert, that should generate something in the target table, that is
> > missing?
it's better to reply to mailing list, unless it's a secret, as others
can comment and possibly provide answer.
In any case, after running your queries, I got:
ERROR: relation "results" does not exist
This was on test script line 78, which was:
CREATE TRIGGER trigger_f_energy_insert AFTER INSERT ON results FOR EACH ROW
EXECUTE PROCEDURE trigger_f_energy_insert ();
So, can't test it, sorry.
Best regards,
depesz