> When you write a trigger for a table you should be executing commands > against the same table. I believe this implies that the code creating a new object (INSERT INTO public.object…) row should reside elsewhere.
pgsql-novice by date:
Соглашаюсь с условиями обработки персональных данных