title: Getting errors while creating trigger function from .sql file in postgres
body: <p>I'm trying to inject .sql file like xyz.sql in that I have created some triggers and in another file I'm implementing this function but I'm getting these errors in.</p>
  
  <p>Maybe I am missing syntax, because the same is running in PostgreSQL editor but I have to write in .sql file, please check this combined image </p>
  
  <p><img src="https://i.stack.imgur.com/Hi0h4.png" alt="enter image description here"></p>