PostgreSQL allows you to name the connections to the application_name. Thus, the database log can I know which application ran that query. In config/database.php does not have this parameter, there some other way that I can use to set this parameter?
https://www.postgresql.org/docs/9.2/stat...ATION-NAME
https://www.postgresql.org/docs/9.2/stat...ATION-NAME