PostgreSQL (edit)

https://alberton.info/postgresql_meta_info.html

CREATE A TRIGGER FOR EACH TABLE TO MONITOR

http://www.alberton.info/postgresql_table_audit.html

CREATE A STORED PROCEDURE

https://carto.com/help/working-with-data/sql-stored-procedures/

https://www.enterprisedb.com/postgres-tutorials/10-examples-postgresql-stored-procedures

OTHERS: