title: postgresql user define variabe for sql query
body: <p>I set the variable in psql like this
  <code>abc=# \set test 'select * from tableName;'</code> 
  I am using ubuntu operating system in which postgresql installed
  When I exit the terminal it becomes lost So for permanent purpose what should I do? </p>