Creating trigger from one database table to another database table postgresql
Usually the full qualified name of a db table is:
catalog.schema.table

If you want to insert some values into another table you should use this syntax:
insert into catalog.schema.table
values (..., ..., ...)