title: How to make PostgreSQL insert a row into a table when deleted from another table?
body: <p>We have an application, which will delete a row from a table based on user requests. I cannot change the application code. However, I want to insert a row into another table (kinda like a journal log) with information from a few other tables based on information of the row that is being deleted.</p>
  
  <p>How do I achieve this within PostgreSQL?</p>