In this post, I am sharing tips like how to use a psql session variable to make your queries more dynamic in PostgreSQL. As a DBA, we prepared lots of .sql files in our server for different purposes like check DB stats, get tables size, get object information. We are executing this scripts (.sql files) […]